mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-19 05:19:14 +00:00
partial fix for #1956
This commit is contained in:
@@ -181,6 +181,9 @@ public class JavaInflectorServerCodegen extends JavaClientCodegen implements Cod
|
||||
|
||||
@Override
|
||||
public boolean shouldOverwrite(String filename) {
|
||||
return super.shouldOverwrite(filename);
|
||||
return super.shouldOverwrite(filename) &&
|
||||
!filename.endsWith("pom.xml") &&
|
||||
!filename.endsWith("README.md") &&
|
||||
!filename.endsWith("inflector.yaml");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user