We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config route with non-existent fields should return 400
{ caseDesc: "config route with non-existent fields (r1)", Object: MangerApiExpect(t), Path: "/apisix/admin/routes/r1", Method: http.MethodPut, Body: `{ "uri": "/hello", "nonexistent": "test non-existent", "upstream": { "type": "roundrobin", "nodes": [{ "host": "172.16.238.20", "port": 1980, "weight": 1 }] } }`, Headers: map[string]string{"Authorization": token}, ExpectStatus: http.StatusBadRequest, },
it return 200 and insert it to etcd now.
The text was updated successfully, but these errors were encountered:
cc @nic-chen
Sorry, something went wrong.
if we fix #955, then we should fix this issue too
Successfully merging a pull request may close this issue.
Bug report
Describe the bug
config route with non-existent fields should return 400
How to Reproduce
it return 200 and insert it to etcd now.
The text was updated successfully, but these errors were encountered: