Fix Hook & HookList in Swagger (#6432)

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