mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-10 10:15:10 -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
|
||||
|
||||
template = dict(
|
||||
swaggerUiPrefix=LazyString(lambda: request.environ.get('HTTP_X_SCRIPT_NAME', '')),
|
||||
schemes=['https', 'http'],
|
||||
version='1',
|
||||
host=LazyString(lambda: request.host),
|
||||
basePath='/',
|
||||
info={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue