nx-trumbitta icon indicating copy to clipboard operation
nx-trumbitta copied to clipboard

Unable to leverage .openapi-generator-ignore

Open Tungsten78 opened this issue 1 year ago • 1 comments

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.

Tungsten78 avatar Oct 05 '23 15:10 Tungsten78

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!

swcm-mnestler avatar Jan 03 '24 08:01 swcm-mnestler