summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-01-01 17:08:13 +0100
committerLauris BH <lauris@nix.lv>2020-01-01 18:08:13 +0200
commitd1798f77f62988828c004fcf8d234bff6340deb7 (patch)
treec30c6650fffabd1d82d8887932c662a480c22266 /templates/swagger
parenta864d61ee629dfc3aa5e75a5271354db5088f70e (diff)
downloadgitea-d1798f77f62988828c004fcf8d234bff6340deb7.tar.gz
gitea-d1798f77f62988828c004fcf8d234bff6340deb7.zip
swagger UI: hide iretating search field (#9554)
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/ui.tmpl6
1 files changed, 2 insertions, 4 deletions
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