Skip to content

Commit

Permalink
remove test service (#3379)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 authored Jul 18, 2019
1 parent d493178 commit b022235
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 233 deletions.
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,
};

0 comments on commit b022235

Please sign in to comment.