enable ui

This commit is contained in:
Wolfgang Hottgenroth 2021-01-27 12:06:21 +01:00
parent fe007cbfe7
commit da06065959
Signed by: wn
GPG Key ID: E49AF3B9EF6DD469

View File

@ -3,7 +3,7 @@ from flask_cors import CORS
# instantiate the webservice
app = connexion.App(__name__)
app.add_api('openapi.yaml', options = {"swagger_ui": False})
app.add_api('openapi.yaml', options = {"swagger_ui": True})
# CORSify it - otherwise Angular won't accept it
CORS(app.app)