-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support swaggerignore
field tag in structs for fields that should not be shown in swagger docs
#632
Comments
|
|
OK, PR is welcome |
ok |
Try master branch |
When will swaggerignore release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's allowed to specify
format
,binding
,swaggertype
, etc tags to the struct fields.But it's very useful to just ignore the field for swagger docs. It's a basic practice when you have fields in the model that are filled internally, not from frontend. So documentation just do not need to know about them
The text was updated successfully, but these errors were encountered: