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

Unable to leverage .openapi-generator-ignore #83

Open
Tungsten78 opened this issue Oct 5, 2023 · 1 comment
Open

Unable to leverage .openapi-generator-ignore #83

Tungsten78 opened this issue Oct 5, 2023 · 1 comment

Comments

@Tungsten78
Copy link

I want to exclude some files from generation.

Using .openapi-generator-ignore isn't possible because the file doesn't exist when the generator looks for it.

Root cause: outputDir is deleted

Alternatively, if the executor allowed additional cli arguments we could use --ignore-file-override to reference a file at the nx project level.

@swcm-mnestler
Copy link

swcm-mnestler commented Jan 3, 2024

The OpenAPI generator (7.2.0) now supports the --openapi-generator-ignore-list CLI flag which allows you to ignore files from the get-go. It would be great to be able to configure this in the generate-api-lib-sources task options!

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