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

output enums as x-enumNames #1721

Open
chiptus opened this issue Dec 17, 2023 · 0 comments
Open

output enums as x-enumNames #1721

chiptus opened this issue Dec 17, 2023 · 0 comments

Comments

@chiptus
Copy link

chiptus commented Dec 17, 2023

Is your feature request related to a problem? Please describe.
I'm trying to generate client side type from my swagger doc, and the generators I find don't support x-enum-varnames, instead they support x-enumNames. Would be nice to choose the output.

Describe the solution you'd like
add a flag --enum-type="x-enumNames"|"x-enum-varnames"

Describe alternatives you've considered
running another tool that will transform the swagger doc

Additional context
see sandbox for more context https://codesandbox.io/p/devbox/naughty-noyce-5g2n53

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

1 participant