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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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: