mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 15:31:06 +01:00
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 <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
parent
48598a7e83
commit
28a7708d69
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ window.addEventListener('load', async () => {
|
|||
spec,
|
||||
dom_id: '#swagger-ui',
|
||||
deepLinking: true,
|
||||
docExpansion: 'none',
|
||||
presets: [
|
||||
SwaggerUI.presets.apis
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue