serverPort add from cli (#5821)

in order to change the serverPort from the codegen cli
This commit is contained in:
Alex Chauvin
2017-06-13 09:57:55 +02:00
committed by wing328
parent 2c7cd07cc3
commit b61dfefa5b

View File

@@ -141,6 +141,8 @@ public class FlaskConnexionCodegen extends DefaultCodegen implements CodegenConf
defaultValue("default_controller"));
cliOptions.add(new CliOption(SUPPORT_PYTHON2, "support python2").
defaultValue("false"));
cliOptions.add(new CliOption("serverPort", "TCP port to listen to in app.run").
defaultValue("8080"));
}
@Override