Closed
Description
Describe the bug
- I am using springdoc-openapi version 1.5.9 and have a GET method in my controller with a request body. The endpoint works completly fine with postman but with Swagger UI, it gives 'TypeError : Failed to execute fetch on Window.Request with GET/HEAD method cannot have body'.
Expected behavior
- GET with request body should be allowed
- The PR to support this expectation : allow, but discourage, requestBody for GET, HEAD, DELETE OAI/OpenAPI-Specification#2117
Metadata
Metadata
Assignees
Labels
No labels