-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Support to add properties in @Schema #2891
Comments
MarvGilb
changed the title
Suport to add properties in @Schema
Support to add properties in @Schema
Aug 2, 2018
I have the almost exact opposite problem, of wanting to add custom properties to a schema with fixed fields, i.e. to add I think a solution to this would be to allow setting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Maps it should be possible to set known properties to the generated documentation.
e.g.:
returns an output like:
But required is an output with known properties like this:
Therefore '@Schema' should get an additional variable that allows to override or add properties.
The text was updated successfully, but these errors were encountered: