]> source.dussan.org Git - gitea.git/commitdiff
swagger UI: hide iretating search field (#9554)
author6543 <6543@obermui.de>
Wed, 1 Jan 2020 16:08:13 +0000 (17:08 +0100)
committerLauris BH <lauris@nix.lv>
Wed, 1 Jan 2020 16:08:13 +0000 (18:08 +0200)
templates/swagger/ui.tmpl

index 0125ee4a199693b892630df419433cca43971ae5..7bc005e334417d35879678de687571c92c8aad90 100644 (file)
@@ -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