diff options
Diffstat (limited to 'routers/api/v1/swagger/repo.go')
-rw-r--r-- | routers/api/v1/swagger/repo.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/routers/api/v1/swagger/repo.go b/routers/api/v1/swagger/repo.go index 0422d3fa10..f671037795 100644 --- a/routers/api/v1/swagger/repo.go +++ b/routers/api/v1/swagger/repo.go @@ -71,6 +71,20 @@ type swaggerResponseHookList struct { Body []api.Hook `json:"body"` } +// GitHook +// swagger:response GitHook +type swaggerResponseGitHook struct { + // in:body + Body api.GitHook `json:"body"` +} + +// GitHookList +// swagger:response GitHookList +type swaggerResponseGitHookList struct { + // in:body + Body []api.GitHook `json:"body"` +} + // Release // swagger:response Release type swaggerResponseRelease struct { |