Swagger documentation isn't being generated for my custom type #1881
Replies: 1 comment
-
|
Sorry. Silly mistake on my part. The correct way to annotate is: |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I have a function with the following annoations:
the
models.MyResponsestruct looks like this:But no schema is generated in the Swagger doc for the 200 response. No type information for the
MyResponsestruct is generated either.Can someone help with why I am not getting the expected output?
Beta Was this translation helpful? Give feedback.
All reactions