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 option to CLI plugin to automatically fill enumName #1815

Open
1 task done
Ginden opened this issue Feb 10, 2022 · 1 comment
Open
1 task done

Add option to CLI plugin to automatically fill enumName #1815

Ginden opened this issue Feb 10, 2022 · 1 comment
Labels

Comments

@Ginden
Copy link

Ginden commented Feb 10, 2022

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

By default, all enums are multiplicated in Swagger output.

This is working according to documentation

Describe the solution you'd like

I would like to have boolean option in PluginOptions to automatically add enumName.

Teachability, documentation, adoption, migration strategy

No response

What is the motivation / use case for changing the behavior?

This will reduce OpenAPI JSON size and provide better integration with plugins generating source code from OpenAPI specification, as described in documentation.

@Ginden Ginden added the feature label Feb 10, 2022
@havsar
Copy link

havsar commented Oct 31, 2023

This would be very helpful!

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

No branches or pull requests

2 participants