From #1956, adding a .codegen-ignore file would be helpful for keeping languages from overwriting files unexpectedly.
I've begun development on this. https://github.com/jimschubert/swagger-codegen/tree/feature/codegen-ignore
Thanks for the contribution from @jimschubert to add the support of .swagger-codegen-ignore file to skip file overwrite
Most helpful comment
I've begun development on this. https://github.com/jimschubert/swagger-codegen/tree/feature/codegen-ignore