updated templates

This commit is contained in:
Tony Tam
2015-04-05 13:42:20 -07:00
parent 5a5bb6edbf
commit 27c7e69fba
9 changed files with 110 additions and 4 deletions

View File

@@ -68,6 +68,8 @@ public class SpringMVCServerCodegen extends JavaClientCodegen implements Codegen
(sourceFolder + File.separator + configPackage).replace(".", java.io.File.separator), "WebApplication.java"));
supportingFiles.add(new SupportingFile("webMvcConfiguration.mustache",
(sourceFolder + File.separator + configPackage).replace(".", java.io.File.separator), "WebMvcConfiguration.java"));
supportingFiles.add(new SupportingFile("swaggerUiConfiguration.mustache",
(sourceFolder + File.separator + configPackage).replace(".", java.io.File.separator), "SwaggerUiConfiguration.java"));
supportingFiles.add(new SupportingFile("swagger.properties",
("src.main.resources").replace(".", java.io.File.separator), "swagger.properties"));