Multiple example responses #205
Unanswered
diegomoralgs
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.
-
Hello,
I would like to know if there's a way to have 2 examples of a valid response for the same endpoint in the documentation.
For example:
YAML:
The following would only give me one example in the final YAML generated by Swaggest:
I would need something like this:
Is there a way to specify in the Golang code several examples for MyResponse?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions