Skip to content

Commit

Permalink
Correct CLI option (OpenAPITools#3340)
Browse files Browse the repository at this point in the history
  • Loading branch information
todokr authored and wing328 committed Jul 12, 2019
1 parent 99ee681 commit 09b4bbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public ScalaPlayFrameworkServerCodegen() {
importMapping.put("TemporaryFile", "play.api.libs.Files.TemporaryFile");

cliOptions.add(new CliOption(ROUTES_FILE_NAME, "Name of the routes file to generate.").defaultValue(routesFileName));
cliOptions.add(new CliOption(ROUTES_FILE_NAME, "Base package in which supporting classes are generated.").defaultValue(basePackage));
cliOptions.add(new CliOption(BASE_PACKAGE, "Base package in which supporting classes are generated.").defaultValue(basePackage));

addCliOptionWithDefault(SKIP_STUBS, "If set, skips generation of stub classes.", skipStubs);
addCliOptionWithDefault(SUPPORT_ASYNC, "If set, wraps API return types with Futures and generates async actions.", supportAsync);
Expand Down

0 comments on commit 09b4bbc

Please sign in to comment.