Created by: spacether
There is a bug where invoking a delete endpoint with no body is unable to call the rest client self.pool_manager.request method because it doesn't understand how to prepare the request/what to send.
This fixes that bug. The solution is to detect this no body use case and omit sending the body in the request.
- sample endpoint has been added to the spec
- test test_delete_endpoint_without_request_body has been added
Note: these responses also lack content (content type to schema) definitions.
This PR was written for: https://github.com/OpenAPITools/openapi-generator/issues/12265
PR checklist
-
Read the contribution guidelines. -
Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community. -
Run the following to build the project and update samples: ./mvnw clean package ./bin/generate-samples.sh ./bin/utils/export_docs_generators.sh
./bin/generate-samples.sh bin/configs/java*
. For Windows users, please run the script in Git BASH. -
If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.