feat(typescript): generate .gitattributes file (#19698)

* feat(typescript): generate `.gitattributes` file

* sample generation

* highlight the gitattributes mustache template

* highlight the gitattributes mustache template

* Revert "highlight the gitattributes mustache template"

This reverts commit 95119979833c2835f004db27805506b76785385a.

* highlight the gitattributes mustache template

* Revert "highlight the gitattributes mustache template"

This reverts commit 0f67ec2e4fec30fad209fae20ace97ea7f9d4eea.

* Revert "highlight the gitattributes mustache template"

This reverts commit 1f68b42368c959bc63dff76db791e4149280283a.
This commit is contained in:
Joscha Feth 2024-09-27 07:39:59 +01:00 committed by GitHub
parent 1b247e75a9
commit 5e2af7203a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
28 changed files with 126 additions and 0 deletions

View File

@ -140,6 +140,7 @@ public class TypeScriptClientCodegen extends AbstractTypeScriptClientCodegen imp
supportModelPropertyNaming(CodegenConstants.MODEL_PROPERTY_NAMING_TYPE.camelCase); supportModelPropertyNaming(CodegenConstants.MODEL_PROPERTY_NAMING_TYPE.camelCase);
// Git // Git
supportingFiles.add(new SupportingFile(".gitattributes.mustache", "", ".gitattributes"));
supportingFiles.add(new SupportingFile(".gitignore.mustache", "", ".gitignore")); supportingFiles.add(new SupportingFile(".gitignore.mustache", "", ".gitignore"));
supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh")); supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
DefaultApi.md DefaultApi.md
README.md README.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
DefaultApi.md DefaultApi.md
README.md README.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
DefaultApi.md DefaultApi.md
README.md README.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
PetApi.md PetApi.md
README.md README.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
DefaultApi.md DefaultApi.md
README.md README.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
PetApi.md PetApi.md
README.md README.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
PetApi.md PetApi.md
StoreApi.md StoreApi.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
PetApi.md PetApi.md
StoreApi.md StoreApi.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
AnotherFakeApi.md AnotherFakeApi.md
DefaultApi.md DefaultApi.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
PetApi.md PetApi.md
README.md README.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
PetApi.md PetApi.md
README.md README.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
DefaultApi.md DefaultApi.md
README.md README.md

View File

@ -0,0 +1,8 @@
**/* linguist-generated
*.md linguist-documentation
.gitattributes text
.gitattributes export-ignore
.gitignore text
.gitignore export-ignore

View File

@ -1,3 +1,4 @@
.gitattributes
.gitignore .gitignore
PetApi.md PetApi.md
README.md README.md