-
Notifications
You must be signed in to change notification settings - Fork 77
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
Schema examples dont show #152
Comments
Yeah we don't support examples at the moment. Those would need to be added. |
Happy to put together a PR for adding the support. Would just need a few pointers where to make the changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the given openapi.json which is generated using
fastapi
(I chopped it down to the relevant parts).The relevant snippet is this one:
This is following the OpenAPI standard 3.1.0 which claims:
Now I have added it to my docs using this block
But the generated examples are not using the
examples
from the document:Notice that it says
"string"
instead of"111111l901"
and"ping"
as in theexamples
. It works better, but still not fully, when usingexample
instead.I can not figure out how to fix this in the code, so was wondering if someone can help.
The text was updated successfully, but these errors were encountered: