From 42f9ede4bf9ee5cf0e7fda74fcd37bea5540c302 Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Tue, 14 Jul 2020 00:19:05 +0200 Subject: [PATCH] make swagger valid --- main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.py b/main.py index 0be9296..74a03fc 100644 --- a/main.py +++ b/main.py @@ -31,9 +31,7 @@ def create_app(test_config=None): app.json_encoder = LazyJSONEncoder template = dict( - swaggerUiPrefix=LazyString(lambda: request.environ.get('HTTP_X_SCRIPT_NAME', '')), schemes=['https', 'http'], - version='1', host=LazyString(lambda: request.host), basePath='/', info={