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


   ## Issue description
   I want to synchronize old data, the old apisix version is 1.4.0, and now I 
use apisix with version 2.4 and apisix-dashboard with version 2.4, etcd with 
version v3.4.15. 
   I use Apisix's interface '/apisix/admin/route' to import my route data, I 
see it work by apisix-dashboard.
   When I use Export OpenAPI to export this route data, the file which I export 
was empty.
   But another route which I create by apisix-dashboard I can export full data 
to file.
   ## Expected behavior
   I want to export full json data to file using Export OpenAPI function.
   The route data is imported by Apisix's interface and not only create by 
apisix-dashboard.
   
   ## How to Reproduce
   1、imported route data by Apisix's route api
   2、find it on apisix-dashboard
   3、choose this route, click Export OpenAPI to export json data
   4、see this json file
   
   ## Screenshots
   <!-- Add screenshots to help explain your problem if applicable. -->
   
![image](https://user-images.githubusercontent.com/30520833/112434229-4a7c7c00-8d7e-11eb-9f6c-2fcd61cf179b.png)
   
   which one I wish to see:
   
![image](https://user-images.githubusercontent.com/30520833/112434311-641dc380-8d7e-11eb-998e-5c72b1b76290.png)
   
   
   
   ## Environment
   
   * apisix version (cmd: `apisix version`): 2.4 (docker)
   * OS (cmd: `uname -a`): centos
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   * etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   * apisix-dashboard version, if have: 2.4 (docker)
   * Browser version, if have: Chrome
   
   ## Additional context
   <!-- Do you want to solve this issue? or add any other context about the 
problem here. -->


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