Skip to content
Discussion options

You must be logged in to vote

We don't currently have this feature. Emitting just JSON would be fairly easy, but emitting good data into the schema is considerably harder. I suspect the best approach would be to serialize the OpenAPISchema to JSON and then use a JSON Schema library that has already implemented the ability to emit examples.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HamedFathi
Comment options

Answer selected by baywet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants