-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
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
[Web OpenApi] Request with Body not specified in OpenAPI is NOT rejected #2194
Comments
Edit: Sorry, this did not work. |
Thanks for your reply. Indeed, "required" property is not adapted for this issue.
My issue is different:
David |
Hello, Any news about this issue? David |
I think this issue is tracked in eclipse-vertx/vertx-openapi#17, which also makes more sense as Web OpenAPI is deprecated. Therefore I will close this issue. If I'm wrong please reopen the issue. |
Ah just see that this is about the request, not the response. So it is maybe already fixed in the new version of OpenAPI Router. |
Version
v4.3.1 - Vert.x OpenAPI
Context
In OpenAPI, when operation does not contain any "requestBody" description.
"paths" : { "/myPath" : { "post" : { "summary" : "bla bla", "operationId" : "myOperationId", "parameters" : ..., "responses" : ... } } }
A Request WITH a json body (content-type: application/json) is not rejected by the web-api router as expected.
Do you have a reproducer?
NO
Steps to reproduce
cf description
Extra
The text was updated successfully, but these errors were encountered: