This makes is slightly faster to navigate through the swagger docs by initially collapsing the tags like 'admin' or 'miscellaneous'. Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net>tags/v1.13.0-rc1
@@ -18,6 +18,7 @@ window.addEventListener('load', async () => { | |||
spec, | |||
dom_id: '#swagger-ui', | |||
deepLinking: true, | |||
docExpansion: 'none', | |||
presets: [ | |||
SwaggerUI.presets.apis | |||
], |