fix tests

This commit is contained in:
cbornet
2016-06-15 23:20:37 +02:00
parent 7aac639aad
commit d4c961798e
10 changed files with 43 additions and 13 deletions

View File

@@ -47,6 +47,13 @@ public class SpringBootServerCodegen extends AbstractJavaCodegen {
supportedLibraries.put("j8-async", "Use async servlet feature and Java 8's default interface. Generating interface with service " +
"declaration is useful when using Maven plugin. Just provide a implementation with @Controller to instantiate service." +
"(DEPRECATED: use -Djava8=true,async=true instead)");
CliOption library = new CliOption(CodegenConstants.LIBRARY, "library template (sub-template) to use");
library.setDefault(DEFAULT_LIBRARY);
library.setEnum(supportedLibraries);
library.setDefault(DEFAULT_LIBRARY);
cliOptions.add(library);
}
@Override