Description field as part of the schema instead of comment #1794
Unanswered
grahamwhiteuk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible (how?) to have descriptions in the schema instead of as a comment?
For example, say I have this snippet from an OpenAPI spec
The resulting schema looks something like this
But what I want is something like this
This would allow me to programatically retrieve the description.
Note: I would be looking to do this for all descriptions in the spec such as the description strings for parameters.
Beta Was this translation helpful? Give feedback.
All reactions