forked from loafle/openapi-generator-original
feat(typescript): generate .gitattributes file
This commit is contained in:
@@ -140,6 +140,7 @@ public class TypeScriptClientCodegen extends AbstractTypeScriptClientCodegen imp
|
||||
supportModelPropertyNaming(CodegenConstants.MODEL_PROPERTY_NAMING_TYPE.camelCase);
|
||||
|
||||
// Git
|
||||
supportingFiles.add(new SupportingFile(".gitattributes.mustache", "", ".gitattributes"));
|
||||
supportingFiles.add(new SupportingFile(".gitignore.mustache", "", ".gitignore"));
|
||||
supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));
|
||||
|
||||
|
||||
2
modules/openapi-generator/src/main/resources/typescript/.gitattributes.mustache
vendored
Normal file
2
modules/openapi-generator/src/main/resources/typescript/.gitattributes.mustache
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*.md linguist-documentation
|
||||
**/* linguist-generated
|
||||
Reference in New Issue
Block a user