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
-
I have a function with the following annoations:
the
models.MyResponse
struct looks like this:But no schema is generated in the Swagger doc for the 200 response. No type information for the
MyResponse
struct is generated either.Can someone help with why I am not getting the expected output?
Beta Was this translation helpful? Give feedback.
All reactions