-
Hi, I'd like to use models generated by gowagger as GORM models, too. In some cases, I'd welcome possibility to define gorm tag as part of the swagger definition. For example, I'd need to ignore some fields which API model uses but database does not need to store, in which case, I'd like to include Thanks, Martin |
Beta Was this translation helpful? Give feedback.
Answered by
chrlic
Apr 5, 2022
Replies: 1 comment
-
Got it: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
casualjim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got it:
x-go-custom-tag: gorm:"-"
is what I needed.