mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Swagger.v1.json template (#3572)
* Turn swagger.v1.json into template * Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER
This commit is contained in:
		
				
					committed by
					
						
						Lauris BH
					
				
			
			
				
	
			
			
			
						parent
						
							412583a3f2
						
					
				
				
					commit
					a74426d631
				
			@@ -581,8 +581,8 @@ DEFAULT_INTERVAL = 8h
 | 
			
		||||
MIN_INTERVAL = 10m
 | 
			
		||||
 | 
			
		||||
[api]
 | 
			
		||||
; Enables /api/swagger, /api/v1/swagger etc. endpoints. True or false; default is true.
 | 
			
		||||
ENABLE_SWAGGER_ENDPOINT = true
 | 
			
		||||
; Enables Swagger. True or false; default is true.
 | 
			
		||||
ENABLE_SWAGGER = true
 | 
			
		||||
; Max number of items in a page
 | 
			
		||||
MAX_RESPONSE_ITEMS = 50
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user