disable ui

This commit is contained in:
Wolfgang Hottgenroth 2021-09-11 19:19:16 +02:00
parent 641565d8ff
commit d098317331
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,