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 cli option to limit the code generation to specific tags or paths #292

Open
ctot-nondef opened this issue May 28, 2024 · 0 comments
Open

Comments

@ctot-nondef
Copy link

as some swagger definitions are quite large, the resulting API-clients can be very large and as such hard to handle by IDEs/language servers. the autocomplete for types turns laggy.

as in many scenarios only a specific set of operations is actually used, it would be great if there was a cli-option to select the operations needed either by passing a (list of) tag(s) or by passing a (list of) operationId(s) like so:

Options:
  --operationIds <operationId1,operationId2>               A comma separated list of operationIds the client generation will be limited to
  --tags <tag1,tag2>                                       A comma separated list of tags the client generation will be limited to
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