We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Swaggo generates duplicated values for an enum. From this code:
const ( En Language = "EN" De Language = "DE" Zh Language = "ZH" DefaultLanguage = En )
The resulting enum description for any entity using Language is:
Language
model.Language: enum: - EN - DE - ZH - EN # Duplicated type: string
We will need something like an ignore tag for constants:
const ( En Language = "EN" De Language = "DE" Zh Language = "ZH" // @swaggerignore DefaultLanguage = En )
Or just detect the duplicated values while doc generation.
I'll really appreciate that if you can take this into consideration. Thanks in advance.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Swaggo generates duplicated values for an enum. From this code:
The resulting enum description for any entity using
Language
is:We will need something like an ignore tag for constants:
Or just detect the duplicated values while doc generation.
I'll really appreciate that if you can take this into consideration. Thanks in advance.
The text was updated successfully, but these errors were encountered: