liuxiran edited a comment on issue #2441:
URL: https://github.com/apache/apisix/issues/2441#issuecomment-714330623


   ok,  based on the results of the discussion above, I think this issue 
contains at least two modifications: 
   
   - [x] admin-api provides api like:
        * `/apisix/admin/schema/plugins/{plugin_name}` to get plugin schema
        * 
`/apisix/admin/schema/plugins/{plugin_name}?schema_type=consumer_schema` to get 
plugin consumer_schema
   
   - [ ] dashboard calls the corresponding api to get the correct schema.
   
   e.g:
   
   1. consumer wants to config hmac-auth plugin, then call 
`/apisix/admin/schema/plugins/hmac-auth?schema_type=consumer_schema` to get the 
config schema
   
   1. route wants to config hmac-auth plugin, then call 
`/apisix/admin/schema/plugins/hmac-auth` to get the config schema
   
   my partner and I will take this issue :)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to