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


   # Bug report
   
   ## Describe the bug
   
   - When exporting route data, the current logic will export empty swagger 
data when the route data is null or there is no route data. Whether to add 
judgment will directly return an error.
   
   ```
   {
     "components": {},
     "info": {
       "title": "RoutesExport",
       "version": "3.0.0"
     },
     "openapi": "3.0.0",
     "paths": {}
   }
   ```
   
   ## Expected behavior
   
   - When null characters are passed in, routeid is not passed in, or all 
routeid data is exported, there is no data in the database, and an error should 
be reported directly.
   
   


----------------------------------------------------------------
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