mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Fix Hook & HookList in Swagger (#6432)
Signed-off-by: Segev Finer <segev@codeocean.com>
This commit is contained in:
		@@ -61,14 +61,14 @@ type swaggerResponseReferenceList struct {
 | 
			
		||||
// swagger:response Hook
 | 
			
		||||
type swaggerResponseHook struct {
 | 
			
		||||
	// in:body
 | 
			
		||||
	Body []api.Branch `json:"body"`
 | 
			
		||||
	Body api.Hook `json:"body"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// HookList
 | 
			
		||||
// swagger:response HookList
 | 
			
		||||
type swaggerResponseHookList struct {
 | 
			
		||||
	// in:body
 | 
			
		||||
	Body []api.Branch `json:"body"`
 | 
			
		||||
	Body []api.Hook `json:"body"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Release
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user