From 28a7708d69b9bf6879e8992e2b2c4b33d06ee76f Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 5 Aug 2020 23:42:19 +0200 Subject: Collapse Swagger UI tags by default (#12428) This makes is slightly faster to navigate through the swagger docs by initially collapsing the tags like 'admin' or 'miscellaneous'. Co-authored-by: techknowlogick Co-authored-by: Lauris BH Co-authored-by: zeripath --- web_src/js/standalone/swagger.js | 1 + 1 file changed, 1 insertion(+) (limited to 'web_src') diff --git a/web_src/js/standalone/swagger.js b/web_src/js/standalone/swagger.js index 757612dcdf..3378bfbab8 100644 --- a/web_src/js/standalone/swagger.js +++ b/web_src/js/standalone/swagger.js @@ -18,6 +18,7 @@ window.addEventListener('load', async () => { spec, dom_id: '#swagger-ui', deepLinking: true, + docExpansion: 'none', presets: [ SwaggerUI.presets.apis ], -- cgit v1.2.3