[feature][python-flask] Add CORS support to python-flask server (#8472)

* Add CORS support to python-flask server generator

* Documentation update and CORS support for other generators using the same base class

* Trivial sample changes
This commit is contained in:
Petr Tůma
2021-01-29 03:54:02 +01:00
committed by GitHub
parent 64f5dc8077
commit 061552f5d4
14 changed files with 66 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ def main():
app.add_api('openapi.yaml',
arguments={'title': 'OpenAPI Petstore'},
pythonic_params=True)
app.run(port=8080)