mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-06 04:19:26 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user