Skip to content

Commit

Permalink
feat(#94): Support definition of predefined webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Roshick committed Feb 13, 2023
1 parent 318f82d commit 2dbfce6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/v1/apimodel.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions docs/openapi-v3-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2584,6 +2584,9 @@
],
"webhooks": {
"pipelineTrigger": true,
"predefined": [
"jenkinsPipeline"
],
"additional": [
{
"name": "trigger something",
Expand Down Expand Up @@ -2717,6 +2720,13 @@
"type": "boolean",
"description": "Default pipeline trigger webhook."
},
"predefined": {
"type": "array",
"description": "List of predefined webhooks",
"items": {
"type": "string"
}
},
"additional": {
"type": "array",
"description": "Additional webhooks to be configured.",
Expand Down

0 comments on commit 2dbfce6

Please sign in to comment.