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

[cli/config]: Return no-client/no-server to the cli #1238

Open
NanoBjorn opened this issue May 8, 2024 · 0 comments
Open

[cli/config]: Return no-client/no-server to the cli #1238

NanoBjorn opened this issue May 8, 2024 · 0 comments
Labels
enhancement New feature or request openapi-features OpenAPI features support issues

Comments

@NanoBjorn
Copy link

Description

I was updating monorepo with services from v0.75.0 and discovered that you have got rid of cli arguments in favour of config options. The only two that we were using were no-client/no-server and I believe we are not the only with this use case. Maybe you can consider returning these options? Or maybe introduce some config overriding mechanism through cli? I think smth like -override="generator.features.disable+'paths/client'" would work perfectly (maybe there are some opensource yaml cli overrides already)

We have 10+ specs and therefore the same amount of //go:generate go run ... lines and it is pretty annoying to write two configs to do smth like -config=./noclient.yaml instead of just using -no-client where it was appropriate

@NanoBjorn NanoBjorn added enhancement New feature or request openapi-features OpenAPI features support issues labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request openapi-features OpenAPI features support issues
Projects
None yet
Development

No branches or pull requests

1 participant