forked from forgejo/forgejo
update swagger info (#9558)
This commit is contained in:
parent
27757714d0
commit
655aea13a5
2 changed files with 21 additions and 10 deletions
|
@ -8609,11 +8609,7 @@
|
|||
"x-go-name": "BranchFilter"
|
||||
},
|
||||
"config": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"x-go-name": "Config"
|
||||
"$ref": "#/definitions/CreateHookOptionConfig"
|
||||
},
|
||||
"events": {
|
||||
"type": "array",
|
||||
|
@ -8625,16 +8621,27 @@
|
|||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dingtalk",
|
||||
"discord",
|
||||
"gitea",
|
||||
"gogs",
|
||||
"msteams",
|
||||
"slack",
|
||||
"discord"
|
||||
"telegram"
|
||||
],
|
||||
"x-go-name": "Type"
|
||||
}
|
||||
},
|
||||
"x-go-package": "code.gitea.io/gitea/modules/structs"
|
||||
},
|
||||
"CreateHookOptionConfig": {
|
||||
"description": "CreateHookOptionConfig has all config options in it\nrequired are \"content_type\" and \"url\" Required",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"x-go-package": "code.gitea.io/gitea/modules/structs"
|
||||
},
|
||||
"CreateIssueCommentOption": {
|
||||
"description": "CreateIssueCommentOption options for creating a comment on an issue",
|
||||
"type": "object",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue