Getting a model from an imported module #1284
epreciadoNxA
started this conversation in
General
Replies: 1 comment
-
Try running |
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
-
Hi I was wondering if it is possible to reference an external model for it to show in the swagger?
I have a private repository imported into my go modules in there I have a model defined for a specific error message to be returned. In the comment I am able to have it highlighted in the IDE but when I run swag init it fails to recognize the object.
Beta Was this translation helpful? Give feedback.
All reactions