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 <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: zeripath <[email protected]>
This commit is contained in:
silverwind
2020-08-05 22:42:19 +01:00
committed by GitHub
co-authored by GitHub techknowlogick Lauris BH zeripath
parent 48598a7e83
commit 28a7708d69
+1
View File
@@ -18,6 +18,7 @@ window.addEventListener('load', async () => {
spec,
dom_id: '#swagger-ui',
deepLinking: true,
docExpansion: 'none',
presets: [
SwaggerUI.presets.apis
],