mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-11 10:45:20 -04:00
make swagger valid
This commit is contained in:
parent
b067440923
commit
42f9ede4bf
1 changed files with 0 additions and 2 deletions
2
main.py
2
main.py
|
@ -31,9 +31,7 @@ def create_app(test_config=None):
|
||||||
app.json_encoder = LazyJSONEncoder
|
app.json_encoder = LazyJSONEncoder
|
||||||
|
|
||||||
template = dict(
|
template = dict(
|
||||||
swaggerUiPrefix=LazyString(lambda: request.environ.get('HTTP_X_SCRIPT_NAME', '')),
|
|
||||||
schemes=['https', 'http'],
|
schemes=['https', 'http'],
|
||||||
version='1',
|
|
||||||
host=LazyString(lambda: request.host),
|
host=LazyString(lambda: request.host),
|
||||||
basePath='/',
|
basePath='/',
|
||||||
info={
|
info={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue