Skip to content
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

Add enums func #76

Closed
pei0804 opened this issue Mar 25, 2018 · 3 comments · Fixed by #80
Closed

Add enums func #76

pei0804 opened this issue Mar 25, 2018 · 3 comments · Fixed by #80
Labels

Comments

@pei0804
Copy link
Member

pei0804 commented Mar 25, 2018

https://swagger.io/docs/specification/2-0/enums/

@pei0804
Copy link
Member Author

pei0804 commented Mar 28, 2018

// @Param q query string.Enums(A, B) false "name search by q"

@pei0804 pei0804 changed the title Add enum func Add enums func Mar 29, 2018
easonlin404 pushed a commit that referenced this issue Mar 29, 2018
@johan-lejdung
Copy link

Would it be possible to read enum values from defined const variables in Go?

@rosehsu47
Copy link

It would be convenient if it can generate enum from defined const in Go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants