mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-02 20:53:32 -04: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:
@@ -44,7 +44,9 @@ def get_swagger_ui_html(
|
||||
SwaggerUIBundle.SwaggerUIStandalonePreset
|
||||
],
|
||||
layout: "BaseLayout",
|
||||
deepLinking: true
|
||||
deepLinking: true,
|
||||
showExtensions: true,
|
||||
showCommonExtensions: true
|
||||
})"""
|
||||
|
||||
if init_oauth:
|
||||
|
||||
Reference in New Issue
Block a user