Fix Hook & HookList in Swagger (#6432)

Signed-off-by: Segev Finer <segev@codeocean.com>
This commit is contained in:
Segev Finer 2019-03-26 21:41:17 +02:00 committed by Lauris BH
parent 22d3d029e6
commit b4941f707b
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