summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Friedli2020-07-14 00:19:05 +0200
committerJan Friedli2020-07-14 00:19:05 +0200
commit42f9ede4bf9ee5cf0e7fda74fcd37bea5540c302 (patch)
tree35f2a096248edeb3c522514698b885eaed1ba712
parentb06744092365194b30b951c1f60d559bd178a616 (diff)
make swagger valid
-rw-r--r--main.py2
1 files changed, 0 insertions, 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):
31 app.json_encoder = LazyJSONEncoder 31 app.json_encoder = LazyJSONEncoder
32 32
33 template = dict( 33 template = dict(
34 swaggerUiPrefix=LazyString(lambda: request.environ.get('HTTP_X_SCRIPT_NAME', '')),
35 schemes=['https', 'http'], 34 schemes=['https', 'http'],
36 version='1',
37 host=LazyString(lambda: request.host), 35 host=LazyString(lambda: request.host),
38 basePath='/', 36 basePath='/',
39 info={ 37 info={