-
Notifications
You must be signed in to change notification settings - Fork 9.1k
GET doesn't work with request body #7469
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
Comments
GET/HEAD/DELETE request bodies are allowed in OpenAPI v. 3.1, which is not supported yet. You can follow #5891 for updates on OAS 3.1 support. |
I have version 3.52.1 and it shows the same error when calling a get method with body |
Is it possible to make a GET request with body nowadays in any branch? |
Is this fixed in either v4 or v5? |
Swagger UI gives the error : 'TypeError : Failed to execute fetch on Window.Request with GET/HEAD method cannot have body'.
Citing #5388 which is closed now but since then OpenApi has allowed request body for GET/DELETE methods. : OAI/OpenAPI-Specification#2117
The text was updated successfully, but these errors were encountered: