1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Fix Hook & HookList in Swagger (#6432) (#6440)

Backport from #6432
This commit is contained in:
Segev Finer
2019-03-27 09:03:34 +02:00
committed by Lauris BH
parent 63f6764dce
commit e54f7a708c
2 changed files with 48 additions and 7 deletions

View File

@ -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