[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

@@ -1,7 +1,6 @@
import os
import connexion
def main():
options = {
"swagger_ui": True
@@ -12,4 +11,5 @@ def main():
arguments={'title': 'OpenAPI Petstore'},
pythonic_params=True,
pass_context_arg_name='request')
app.run(port=8080)