fix the enforcedefaults example

The enforcedefaults example did not run as the port (9090) was passed as
the server parameter.
This commit is contained in:
Mikko Valkonen
2017-08-16 10:51:49 +03:00
parent 3833cb10e7
commit dedc5d1450

View File

@@ -43,6 +43,6 @@ validator_map = {
if __name__ == '__main__':
app = connexion.FlaskApp(
__name__, 8080, specification_dir='.', validator_map=validator_map)
__name__, port=8080, specification_dir='.', validator_map=validator_map)
app.add_api('enforcedefaults-api.yaml')
app.run()