Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove test service #3379

Merged
merged 1 commit into from
Jul 18, 2019
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,
};