diff options
author | Segev Finer <segev208@gmail.com> | 2019-03-26 21:41:17 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-03-26 21:41:17 +0200 |
commit | b4941f707b0fd950fc2a0b12b34fbc37206e23dd (patch) | |
tree | c471af0051f70eda99fff73f84c3e5856f63180f /routers/api | |
parent | 22d3d029e6f7e6359f3a6fbe8b7827b579ac7445 (diff) | |
download | gitea-b4941f707b0fd950fc2a0b12b34fbc37206e23dd.tar.gz gitea-b4941f707b0fd950fc2a0b12b34fbc37206e23dd.zip |
Fix Hook & HookList in Swagger (#6432)
Signed-off-by: Segev Finer <segev@codeocean.com>
Diffstat (limited to 'routers/api')
-rw-r--r-- | routers/api/v1/swagger/repo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/swagger/repo.go b/routers/api/v1/swagger/repo.go index 5ddd32d0b7..0422d3fa10 100644 --- a/routers/api/v1/swagger/repo.go +++ b/routers/api/v1/swagger/repo.go @@ -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 |