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:
TiewKH
2020-06-14 00:16:34 +08:00
committed by GitHub
parent e482d74241
commit dd9e94cf21

View File

@@ -44,7 +44,9 @@ def get_swagger_ui_html(
SwaggerUIBundle.SwaggerUIStandalonePreset
],
layout: "BaseLayout",
deepLinking: true
deepLinking: true,
showExtensions: true,
showCommonExtensions: true
})"""
if init_oauth: