Fix Hook & HookList in Swagger (#6432)
Signed-off-by: Segev Finer <segev@codeocean.com>
This commit is contained in:
parent
22d3d029e6
commit
b4941f707b
2 changed files with 48 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue