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
How to show response examples? #181
Comments
Seconding! I'm not sure how to generate these. |
Replace "examples" by "example", but your Open API will become invalid according to the specs. |
Thanks I'll try. |
Maybe just there, but I'm not so familiar with the code: Line 89 in 378f89e
|
Hey guys, we now support the single |
Thanks @auscaster and @elyesbenabdelkader for the fix! Didn't have a chance to try again until now, and it is not fixed for me it seems :( My spec is:
Is there a flag I am missing or something? Note: in the merge referred above, you say you want to keep the |
To be more precise, the spec is as below, and the example strings are still taken from the
|
I can't find how to make the response samples appear in the generated output.
My Open API file is:
So the example is in there. But when I build with
spectacle
, it does not show in the output. I understand only the schema shows up (in this case nothing, so can't see the returned output).Thanks for the great work!
The text was updated successfully, but these errors were encountered: