-
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
bug: @Param struct generator ignores enum array field #1521
Labels
Comments
This was referenced Mar 29, 2023
@sdghchj as far as I can see, it generates the values, but not the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
Currently I have an enum that I want to use on my request, but it is an array on my form struct. When I try to generate the swagger docs, this field has its type generated, but it isn't added to request doc.
To Reproduce
Expected behavior
The swagger docs being generated with the given enum
Swag version
1.8.12
Go version
1.20.0
Desktop:
The text was updated successfully, but these errors were encountered: