airstring opened a new issue #2028:
URL: https://github.com/apache/apisix-dashboard/issues/2028
### Issue description
### Environment
* docker iamge: apache/apisix:2.8-alpine
* etcd image: bitnami/etcd:3.4.15
* apisix-dashboard image: apache/apisix-dashboard:latest
### Minimal test code / Steps to reproduce the issue
1. When I insert the following code through apisix-dashboard:
{
"uri": "/api-admin/*",
"name": "api-admin",
"plugins": {
"proxy-rewrite": {
"regex_uri": [
"^/api-admin/(.*)",
"/$1"
]
}
},
"upstream": {
"type": "roundrobin",
"hash_on": "vars",
"scheme": "http",
"discovery_type": "nacos",
"pass_host": "pass",
"service_name": "api-admin",
"discovery_args": {
"namespace_id": "api-admin"
}
},
"status": 1
}
### What's the actual result? (including assertion message & call stack if
applicable)
Request Error Code: 10000
schema validate failed: upstream: Additional property discovery_args is not
allowed.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]