From 9b102be9b087af4ea7742e05b85b4412a85c4666 Mon Sep 17 00:00:00 2001 From: yinheli Date: Sat, 3 Jul 2021 18:02:08 +0800 Subject: [PATCH] update swagger ui config --- pkg/swaggerui/ui.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/swaggerui/ui.html b/pkg/swaggerui/ui.html index 04af494..d9048bb 100644 --- a/pkg/swaggerui/ui.html +++ b/pkg/swaggerui/ui.html @@ -48,7 +48,9 @@ plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], - layout: "StandaloneLayout" + layout: "StandaloneLayout", + docExpansion: 'list', + defaultModelsExpandDepth: 0, }); // End Swagger UI call region window.ui = ui;