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
Predefined request Bodies (components.requestBodies) are ignored when generating Classes.
See: https://swagger.io/docs/specification/v3_0/describing-request-body/describing-request-body/#reusable-bodies and: https://github.com/quarkiverse/quarkus-openapi-generator/blob/main/server/deployment/src/test/resources/openapi/petstore-openapi.yaml#L776
Hence, using
post: summary: Some Method requestBody: $ref: '#/components/requestBodies/PetBody'
results in
@POST void someMethod();
instead of
@POST void someMethod(@NotNull PetBody data);
The text was updated successfully, but these errors were encountered:
@krisraich which version are you using? Is this the server side version, right?
Sorry, something went wrong.
No branches or pull requests
Predefined request Bodies (components.requestBodies) are ignored when generating Classes.
See: https://swagger.io/docs/specification/v3_0/describing-request-body/describing-request-body/#reusable-bodies
and: https://github.com/quarkiverse/quarkus-openapi-generator/blob/main/server/deployment/src/test/resources/openapi/petstore-openapi.yaml#L776
Hence, using
results in
instead of
The text was updated successfully, but these errors were encountered: