forked from loafle/openapi-generator-original
[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:
@@ -11,6 +11,7 @@ def main():
|
||||
app.add_api('openapi.yaml',
|
||||
arguments={'title': 'OpenAPI Petstore'},
|
||||
pythonic_params=True)
|
||||
|
||||
app.run(port=8080)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user