Skip to content

Commit 28a7708

Browse files
silverwindtechknowlogicklafrikszeripath
authored
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]>
1 parent 48598a7 commit 28a7708

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/standalone/swagger.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ window.addEventListener('load', async () => {
1818
spec,
1919
dom_id: '#swagger-ui',
2020
deepLinking: true,
21+
docExpansion: 'none',
2122
presets: [
2223
SwaggerUI.presets.apis
2324
],

0 commit comments

Comments
 (0)