mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix api docs
This commit is contained in:
@@ -76,18 +76,14 @@ fastapi_args = {
|
||||
"version": f'0.0.{git_commit}',
|
||||
"title": "SD.Next",
|
||||
"description": "SD.Next",
|
||||
"license_info": "/LICENSE.txt",
|
||||
"docs_url": "/docs" if cmd_opts.docs else None,
|
||||
"redocs_url": "/redocs" if cmd_opts.docs else None,
|
||||
"swagger_ui_parameters": {
|
||||
"displayOperationId": True,
|
||||
"showCommonExtensions": True,
|
||||
"deepLinking": False,
|
||||
}
|
||||
}
|
||||
if cmd_opts.docs:
|
||||
fastapi_args.update({
|
||||
"docs_url": "/docs",
|
||||
"redocs_url": "/redocs",
|
||||
"swagger_ui_parameters": {
|
||||
"displayOperationId": True,
|
||||
"showCommonExtensions": True,
|
||||
"deepLinking": False,
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
def check_rollback_vae():
|
||||
|
||||
Reference in New Issue
Block a user