ng-openapi-gen icon indicating copy to clipboard operation
ng-openapi-gen copied to clipboard

Add option to keep specific stale files

Open Michael-Ziluck opened this issue 2 years ago • 1 comments

There is the option for removeStaleFiles but it only allows you to keep them all or keep none. I'd like to have some custom files in the generated library but delete any other old ones.

It would be nice if there was an option called preserveCustomFile with a description of something like "When specified and removeStaleFiles is true, preserves the given files when other stale files are removed."

Michael-Ziluck avatar Jul 06 '23 14:07 Michael-Ziluck

Out of scope, but a PR is welcome

luisfpg avatar Oct 09 '23 11:10 luisfpg