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

Present Enum as Int in Model #164

Open
knyazkov-ma opened this issue Nov 8, 2018 · 1 comment
Open

Present Enum as Int in Model #164

knyazkov-ma opened this issue Nov 8, 2018 · 1 comment

Comments

@knyazkov-ma
Copy link

Is there a way to display all enums as their int value in swagger instead of their string value?

model

Thanks!

@jnallard
Copy link
Collaborator

As far as I can tell, there is no way to do it.

Are you using the base Nancy.Swagger or Nancy.Swagger.Annotations?
If you still want this, feel free to pull a PR or I could try to get to it later (but I'm not very active on this project anymore)

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

No branches or pull requests

2 participants