mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-11 21:16:45 +00:00
✨ Enable showCommonExtensions and showExtensions in SwaggerUI (#1466)
* Set showExtensions and showCommonExtensions to true * Clean up comma Co-authored-by: tiewkeehui <keehuitiew@airasia.com>
This commit is contained in:
parent
e482d74241
commit
dd9e94cf21
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ def get_swagger_ui_html(
|
||||||
SwaggerUIBundle.SwaggerUIStandalonePreset
|
SwaggerUIBundle.SwaggerUIStandalonePreset
|
||||||
],
|
],
|
||||||
layout: "BaseLayout",
|
layout: "BaseLayout",
|
||||||
deepLinking: true
|
deepLinking: true,
|
||||||
|
showExtensions: true,
|
||||||
|
showCommonExtensions: true
|
||||||
})"""
|
})"""
|
||||||
|
|
||||||
if init_oauth:
|
if init_oauth:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue