Apisix-dashboard: request help: What鈥檚 the function of export OpenAPI on the dashboard

Created on 29 Mar 2021  路  4Comments  路  Source: apache/apisix-dashboard

Issue description

What鈥檚 the function of export OpenAPI on the dashboard, why can't I export the configuration of routes and upstreams correctly through it.
And how can I export API configuration to yaml configuration?

Environment

apisix version (cmd: apisix version): 2.4
OS (cmd: uname -a): Ubuntu 16.04.2 LTS
OpenResty / Nginx version (cmd: nginx -V or openresty -V): openresty/1.19.3.1
etcd version, if have (cmd: run curl http://127.0.0.1:9090/v1/server_info to get the info from server-info API): 3.4.13
apisix-dashboard version, if have: 2.4

checking

Most helpful comment

please give some detail about how to reproduce it, thanks.

Just use the function "瀵煎嚭 OpenAPI" on the dashboard, and it exports data like:

info:
  title: RoutesExport
  version: 3.0.0
openapi: 3.0.0
paths:
  /acm: {}
  /{params}: {}
  /{params}-APISIX-REPEAT-URI-3: {}
  /{params}-APISIX-REPEAT-URI-4: {}
  /{params}-APISIX-REPEAT-URI-5: {}

Is it right?

Please provide the detailed data of the export route. Or check if the methods are set in the route data. If not, refer to the issue: #1668. We are repairing it.

All 4 comments

please give some detail about how to reproduce it, thanks.

please give some detail about how to reproduce it, thanks.

Just use the function "瀵煎嚭 OpenAPI" on the dashboard, and it exports data like:

components: {} info: title: RoutesExport version: 3.0.0 openapi: 3.0.0 paths: /acm: {} /{params}: {} /{params}-APISIX-REPEAT-URI-3: {} /{params}-APISIX-REPEAT-URI-4: {} /{params}-APISIX-REPEAT-URI-5: {}
Is it right?

please give some detail about how to reproduce it, thanks.

Just use the function "瀵煎嚭 OpenAPI" on the dashboard, and it exports data like:

info:
  title: RoutesExport
  version: 3.0.0
openapi: 3.0.0
paths:
  /acm: {}
  /{params}: {}
  /{params}-APISIX-REPEAT-URI-3: {}
  /{params}-APISIX-REPEAT-URI-4: {}
  /{params}-APISIX-REPEAT-URI-5: {}

Is it right?

Please provide the detailed data of the export route. Or check if the methods are set in the route data. If not, refer to the issue: #1668. We are repairing it.

Please provide the detailed data of the export route. Or check if the methods are set in the route data. If not, refer to the issue: #1668. We are repairing it.

Thanks锛宨t works

Was this page helpful?
0 / 5 - 0 ratings