From: 6543 <6543@obermui.de> Date: Wed, 1 Jan 2020 16:08:13 +0000 (+0100) Subject: swagger UI: hide iretating search field (#9554) X-Git-Tag: v1.11.0-rc1~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d1798f77f62988828c004fcf8d234bff6340deb7;p=gitea.git swagger UI: hide iretating search field (#9554) --- diff --git a/templates/swagger/ui.tmpl b/templates/swagger/ui.tmpl index 0125ee4a19..7bc005e334 100644 --- a/templates/swagger/ui.tmpl +++ b/templates/swagger/ui.tmpl @@ -85,13 +85,11 @@ window.onload = function() { dom_id: '#swagger-ui', deepLinking: true, presets: [ - SwaggerUIBundle.presets.apis, - SwaggerUIStandalonePreset + SwaggerUIBundle.presets.apis ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl - ], - layout: "StandaloneLayout" + ] }) // End Swagger UI call region