This commit is contained in:
2021-01-14 21:52:56 +01:00
parent 521e916bbd
commit 9717d171bf
3 changed files with 20 additions and 103 deletions

View File

@ -3,7 +3,7 @@ from flask_cors import CORS
# instantiate the webservice
app = connexion.App(__name__)
app.add_api('my_api.yaml')
app.add_api('swagger.yaml')
# CORSify it - otherwise Angular won't accept it
CORS(app.app)