disable ui

This commit is contained in:
Wolfgang Hottgenroth 2021-01-26 22:36:11 +01:00
parent ef1b8ddf30
commit ca17c556d6
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')
app.add_api('openapi.yaml', options = {"swagger_ui": False})
# CORSify it - otherwise Angular won't accept it
CORS(app.app)