mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00: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:
		| @@ -18,6 +18,7 @@ window.addEventListener('load', async () => { | |||||||
|     spec, |     spec, | ||||||
|     dom_id: '#swagger-ui', |     dom_id: '#swagger-ui', | ||||||
|     deepLinking: true, |     deepLinking: true, | ||||||
|  |     docExpansion: 'none', | ||||||
|     presets: [ |     presets: [ | ||||||
|       SwaggerUI.presets.apis |       SwaggerUI.presets.apis | ||||||
|     ], |     ], | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 silverwind
					silverwind