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

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

No files matched your search

+2 -2
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