docs: swagger show models by default (#14880)
This commit is contained in:
		
					parent
					
						
							
								40aca73347
							
						
					
				
			
			
				commit
				
					
						5eafd117a6
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -19,6 +19,7 @@ window.addEventListener('load', async () => {
 | 
				
			||||||
    dom_id: '#swagger-ui',
 | 
					    dom_id: '#swagger-ui',
 | 
				
			||||||
    deepLinking: true,
 | 
					    deepLinking: true,
 | 
				
			||||||
    docExpansion: 'none',
 | 
					    docExpansion: 'none',
 | 
				
			||||||
 | 
					    defaultModelRendering: 'model', // don't show examples by default, because they may be incomplete
 | 
				
			||||||
    presets: [
 | 
					    presets: [
 | 
				
			||||||
      SwaggerUI.presets.apis
 | 
					      SwaggerUI.presets.apis
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue