-
Notifications
You must be signed in to change notification settings - Fork 92
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
Spring ResponseEntity<T> equivalent #825
Comments
Yes. Is there any way to generate |
No, but you can send a PR proposal extending this use case: So, one can have: quarkus.openapi-generator.codegen.spec.my_openapi_yaml.return-response=RestResponse or quarkus.openapi-generator.codegen.spec.my_openapi_yaml.return-response=Response But still fallback to quarkus.openapi-generator.codegen.spec.my_openapi_yaml.return-response=true To not break anything. |
@ricardozanini @hbelmiro This is being labeled as Stale. |
@ricardozanini @hbelmiro This is being closed due to inactivity. |
I need the generated java code include both response body and headers.
I know there is
return-response
option to returnjavax.ws.rs.core.Response
but that class is not generic and requires casting all the time.Is there anything similar to spring
ResponseEntity<T>
in quarkus?The text was updated successfully, but these errors were encountered: