mirror of https://github.com/tiangolo/fastapi.git
✨ 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
|
|
@ -44,7 +44,9 @@ def get_swagger_ui_html(
|
|||
SwaggerUIBundle.SwaggerUIStandalonePreset
|
||||
],
|
||||
layout: "BaseLayout",
|
||||
deepLinking: true
|
||||
deepLinking: true,
|
||||
showExtensions: true,
|
||||
showCommonExtensions: true
|
||||
})"""
|
||||
|
||||
if init_oauth:
|
||||
|
|
|
|||
Loading…
Reference in New Issue