Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import io.swagger.v3.oas.models.Paths;
import io.swagger.v3.oas.models.info.Info;
import org.openapitools.codegen.*;
import org.openapitools.codegen.config.GeneratorProperties;
import org.openapitools.codegen.meta.GeneratorMetadata;
import org.openapitools.codegen.meta.Stability;
import org.openapitools.codegen.utils.URLPathUtils;
Expand Down Expand Up @@ -98,7 +97,6 @@ public NodeJSExpressServerCodegen() {
supportingFiles.add(new SupportingFile("controllers" + File.separator + "index.mustache", "controllers", "index.js"));
supportingFiles.add(new SupportingFile("controllers" + File.separator + "Controller.mustache", "controllers", "Controller.js"));
// service folder
supportingFiles.add(new SupportingFile("services" + File.separator + "test.mustache", "services", "TestService.js"));
supportingFiles.add(new SupportingFile("services" + File.separator + "index.mustache", "services", "index.js"));
supportingFiles.add(new SupportingFile("services" + File.separator + "Service.mustache", "services", "Service.js"));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const {{classname}}Service = require('./{{classname}}Service');
{{/operations}}
{{/apis}}
{{/apiInfo}}
const TestService = require('./TestService');

module.exports = {
{{#apiInfo}}
Expand All @@ -23,5 +22,4 @@ module.exports = {
{{/operations}}
{{/apis}}
{{/apiInfo}}
TestService,
};

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.3-SNAPSHOT
4.1.0-SNAPSHOT
113 changes: 0 additions & 113 deletions samples/server/petstore/nodejs-express-server/services/TestService.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
const PetService = require('./PetService');
const StoreService = require('./StoreService');
const UserService = require('./UserService');
const TestService = require('./TestService');

module.exports = {
PetService,
StoreService,
UserService,
TestService,
};