leoliuzcl opened a new issue #4976:
URL: https://github.com/apache/apisix/issues/4976
### Issue description
when update route,it return `400 bad request` and return `schema validate
failed: upstream: Additional property scheme is not allowed`, the request body
below
`
{
"methods": ["GET", "HEAD", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"],
"priority": 1,
"name": "km-feature",
"status": 1,
"labels": {},
"vars": [
["http_User-Agent", "~*", "iPhone"]
],
"uri": "/*",
"host": "test.domain.com",
"upstream": {
"type": "roundrobin",
"nodes": [{
"host": "test.test.svc.cluster.local",
"port": 80,
"weight": 1
}],
"pass_host": "pass",
"scheme": "http",
"timeout": {
"connect": 6,
"send": 6,
"read": 6
}
}
}
`
### Environment
apisix: v2.7
dashboard: v2.7.1
--
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]