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 9511997983.

* highlight the gitattributes mustache template

* Revert "highlight the gitattributes mustache template"

This reverts commit 0f67ec2e4f.

* Revert "highlight the gitattributes mustache template"

This reverts commit 1f68b42368.
This commit is contained in:
Joscha Feth
2024-09-27 07:39:59 +01:00
committed by GitHub
parent 1b247e75a9
commit 5e2af7203a
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);
// 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"));

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
DefaultApi.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
DefaultApi.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
DefaultApi.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
PetApi.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
DefaultApi.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
PetApi.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
PetApi.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
PetApi.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
AnotherFakeApi.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
PetApi.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
PetApi.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
DefaultApi.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
PetApi.md
README.md