mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 20:36:07 +01:00 
			
		
		
		
	docs: swagger show models by default (#14880)
This commit is contained in:
		@@ -19,6 +19,7 @@ window.addEventListener('load', async () => {
 | 
			
		||||
    dom_id: '#swagger-ui',
 | 
			
		||||
    deepLinking: true,
 | 
			
		||||
    docExpansion: 'none',
 | 
			
		||||
    defaultModelRendering: 'model', // don't show examples by default, because they may be incomplete
 | 
			
		||||
    presets: [
 | 
			
		||||
      SwaggerUI.presets.apis
 | 
			
		||||
    ],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user