You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "SatriyoJati (via GitHub)" <gi...@apache.org> on 2024/11/08 07:02:26 UTC
[I] importing openapi file that contains extended field "x-apisix-..." doesnt work on apisix dashboard [apisix-dashboard]
SatriyoJati opened a new issue, #2971:
URL: https://github.com/apache/apisix-dashboard/issues/2971
### Issue description
When I try to import openapi file containing extended field as like shown in this guide : [https://apisix.apache.org/docs/dashboard/2.6/IMPORT_OPENAPI_USER_GUIDE/](url) those are not imported.
### Expected behavior
the "x-apisix.." fields should also imported to the dashboard : plugins, upstream, even the published status.
### How to Reproduce
1. prepare openapi docs file containing "x-apisix-..." field. like this :
`openapi: 3.0.0
info:
version: 1.0.0-oas3
description: test desc
license:
name: Apache License 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0'
title: test title
paths:
/hello:
get:
description: hello world.
operationId: hello
x-apisix-upstream:
type: roundrobin
nodes:
- host: 172.16.238.20
port: 1980
weight: 1
x-apisix-plugins:
limit-count:
count: 2
time_window: 60
rejected_code: 503
key: remote_addr
x-apisix-status: 0
responses:
'200':
description: list response
default:
description: unexpected error
`
2. Open apisix dashboard, then go to Route Tab, open Advance and Import the openapi file.
### Screenshots



### Environment
- apisix version : 3.10
- OS : Windows 11
- etcd version : 3.5.11
- apisix-dashboard : 3.0.1
### Additional context
_No response_
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] importing openapi file that contains extended field "x-apisix-..." doesnt work on apisix dashboard [apisix-dashboard]
Posted by "juzhiyuan (via GitHub)" <gi...@apache.org>.
juzhiyuan commented on issue #2971:
URL: https://github.com/apache/apisix-dashboard/issues/2971#issuecomment-2814324888
Hi, this is not scoped. Refer to https://github.com/apache/apisix-dashboard/issues/2981
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] importing openapi file that contains extended field "x-apisix-..." doesnt work on apisix dashboard [apisix-dashboard]
Posted by "SatriyoJati (via GitHub)" <gi...@apache.org>.
SatriyoJati commented on issue #2971:
URL: https://github.com/apache/apisix-dashboard/issues/2971#issuecomment-2464111410
@bzp2010
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] importing openapi file that contains extended field "x-apisix-..." doesnt work on apisix dashboard [apisix-dashboard]
Posted by "juzhiyuan (via GitHub)" <gi...@apache.org>.
juzhiyuan closed issue #2971: importing openapi file that contains extended field "x-apisix-..." doesnt work on apisix dashboard
URL: https://github.com/apache/apisix-dashboard/issues/2971
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org