1
0
Fork 0
forked from forgejo/forgejo

[BRANDING] [v1.20] define the forgejo webhook type

templates/swagger/v1_json.tmpl updated with `make generate-swagger`

(cherry picked from commit 88899c492e)
(cherry picked from commit 7171bd9617)
(cherry picked from commit 1a742446c1)
(cherry picked from commit d7c189d7b2)

Conflicts:
	routers/web/web.go
This commit is contained in:
Earl Warren 2023-01-14 10:07:01 +01:00 committed by Loïc Dachary
parent 7f96222fb4
commit cbdea868e4
No known key found for this signature in database
GPG key ID: 992D23B392F9E4F2
14 changed files with 127 additions and 12 deletions

View file

@ -71,6 +71,7 @@ type HookType = string
// Types of webhooks
const (
FORGEJO HookType = "forgejo"
GITEA HookType = "gitea"
GOGS HookType = "gogs"
SLACK HookType = "slack"