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
Resteasy client template does not close the Response (implements AutoCloseable).
Response
AutoCloseable
openapi-generator/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/ApiClient.mustache
Lines 675 to 723 in 2252040
6.0.1
N/A
Handle the Response using try-with-resources, such as: https://github.com/MikeEdgar/openapi-generator/blob/06e93fabbfd66cd4f0f26d47bfba32a9ce3992d4/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/ApiClient.mustache#L675-L730
The text was updated successfully, but these errors were encountered:
@MikeEdgar thanks for reporting the issue. Can you please file a PR with the suggested change?
Sorry, something went wrong.
[MGDSTRM-9562] fix: ensure Resteasy JAX-RS Response object closed
e8b15a7
Temporary work-around for OpenAPITools/openapi-generator#13327 Signed-off-by: Michael Edgar <[email protected]>
fix: MGDSTRM-9562 ensure Resteasy JAX-RS Response object closed (#355)
4809304
Temporary work-around for OpenAPITools/openapi-generator#13327 Signed-off-by: Michael Edgar <[email protected]> Signed-off-by: Michael Edgar <[email protected]>
Successfully merging a pull request may close this issue.
Bug Report Checklist
Description
Resteasy client template does not close the
Response
(implementsAutoCloseable
).openapi-generator/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/ApiClient.mustache
Lines 675 to 723 in 2252040
openapi-generator version
6.0.1
OpenAPI declaration file content or url
N/A
Generation Details
N/A
Steps to reproduce
N/A
Related issues/PRs
N/A
Suggest a fix
Handle the
Response
using try-with-resources, such as: https://github.com/MikeEdgar/openapi-generator/blob/06e93fabbfd66cd4f0f26d47bfba32a9ce3992d4/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/ApiClient.mustache#L675-L730The text was updated successfully, but these errors were encountered: