liuxiran opened a new issue #835:
URL: https://github.com/apache/apisix-dashboard/issues/835


   Please answer these questions before submitting your issue.
   - Why do you submit this issue?
   - [ ] Feature or performance improvement
   refer to:
   https://github.com/apache/apisix-dashboard/issues/611
   https://github.com/apache/apisix-dashboard/issues/469
   ___
   ### Background
   
   In the original implementation, we introduced real-swagger-ui as the basic 
tool for our debugging page, which relies on the OpenApi specification and is 
also a declared page. 
   
   However, API defined by Open API Specification pays more attention to 
parameter definition and return result definition, while Route in APISIX pays 
more attention to API forwarding capabilities. This distinction leads to the 
result that use the swagger ui to debug our route is inflexible and has a high 
data conversion cost, and it can not cover all cases. This is very similar to 
the situation where plugin now relies on real-jsonschema-form to generate 
visual forms. 
   
   So when we refactor this feature, we want to remove the real-swagger-ui lib, 
and implemented it in a light way.
   ### How
   
   1. Add a [Online Debug] button on route page, click button, get to the 
Online Debug page
   ![2020-11-20 
15-11-35屏幕截图](https://user-images.githubusercontent.com/2561857/99770727-e6814700-2b42-11eb-8be0-4cef365ed9f5.png)
   
   1. the [Online Debug] page looks like below:
   
   ![2020-11-20 
16-02-21屏幕截图](https://user-images.githubusercontent.com/2561857/99775225-ea649780-2b49-11eb-9663-98abeb8e8f69.png)
   
   3. The request is finally sent by the backend to APISIX
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to