Skip to content

Commit b9c18c1

Browse files
cleaned up unneeded boilerplate templates
1 parent a81f776 commit b9c18c1

File tree

3 files changed

+1
-31
lines changed

3 files changed

+1
-31
lines changed

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptNestjsServerCodegen.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ public void processOpts() {
146146
supportingFiles.add(new SupportingFile("api-implementations.mustache", "", "api-implementations.ts"));
147147
supportingFiles.add(new SupportingFile("api.module.mustache", "", "api.module.ts"));
148148
supportingFiles.add(new SupportingFile("controllers.mustache", "controllers", "index.ts"));
149-
supportingFiles.add(new SupportingFile("variables.mustache", "", "variables.ts"));
150149
supportingFiles.add(new SupportingFile("gitignore", "", ".gitignore"));
151-
supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));
152150
supportingFiles.add(new SupportingFile("README.md", "", "README.md"));
153151
supportingFiles.add(new SupportingFile("tsconfig.mustache", "", "tsconfig.json"));
154152
supportingFiles.add(new SupportingFile("nest-cli.mustache", "", "nest-cli.json"));
@@ -235,6 +233,7 @@ public void processOpts() {
235233

236234
private void addNpmPackageGeneration() {
237235
supportingFiles.add(new SupportingFile("package.mustache", "", "package.json"));
236+
supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));
238237
}
239238

240239
public void setStringEnums(boolean value) {

modules/openapi-generator/src/main/resources/typescript-nestjs-server/nest-cli.mustache

Lines changed: 0 additions & 8 deletions
This file was deleted.

modules/openapi-generator/src/main/resources/typescript-nestjs-server/variables.mustache

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)