diff --git a/modules/swagger-codegen/src/main/resources/flaskConnexion/app.mustache b/modules/swagger-codegen/src/main/resources/flaskConnexion/app.mustache index 14af64be6f9..ded223fb36d 100644 --- a/modules/swagger-codegen/src/main/resources/flaskConnexion/app.mustache +++ b/modules/swagger-codegen/src/main/resources/flaskConnexion/app.mustache @@ -3,7 +3,6 @@ import connexion if __name__ == '__main__': - app = connexion.App(__name__, {{serverPort}}, - specification_dir='./swagger/') + app = connexion.App(__name__, specification_dir='./swagger/') app.add_api('swagger.yaml', arguments={'title': '{{appDescription}}'}) - app.run() + app.run(port={{serverPort}})