You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if this question belongs here. But I will give it a try anyway.
I am using springdoc-openapi to generate an OAS3 yaml documentation based on my Spring controller/models.
What I want to achieve is to have an inline operation response. Something like this:
The response content is a reference instead of an inline object. Is there a way I can annotate the response/schema so that it will appear inline in the documentation?
The text was updated successfully, but these errors were encountered:
We don't have any special feature related to inline object. We just rely on the official libraries.
You can ask your question, on the official swagger-core github:
I am not sure if this question belongs here. But I will give it a try anyway.
I am using springdoc-openapi to generate an OAS3 yaml documentation based on my Spring controller/models.
What I want to achieve is to have an inline operation response. Something like this:
The annotations of the operation method in the controller class looks like this:
and MyResponseDTO:
This results in a schema with:
The response content is a reference instead of an inline object. Is there a way I can annotate the response/schema so that it will appear inline in the documentation?
The text was updated successfully, but these errors were encountered: