summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorWGH <wgh@torlan.ru>2019-09-09 08:48:21 +0300
committerLauris BH <lauris.buksis@zzdats.lv>2019-09-09 08:48:21 +0300
commit6ddd3b0b470d16dfe62caf5fff21011cfff44a76 (patch)
tree05d4c7fedf8af21b489003890be000f839f69a51 /templates/swagger
parent0118b6aaf8ada3edd67cb975c776f6f124178ad2 (diff)
downloadgitea-6ddd3b0b470d16dfe62caf5fff21011cfff44a76.tar.gz
gitea-6ddd3b0b470d16dfe62caf5fff21011cfff44a76.zip
Implement webhook branch filter (#7791)
* Fix validate() function to handle errors in embedded anon structs * Implement webhook branch filter See #2025, #3998.
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 33c0c38f82..69d100e00c 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -7528,6 +7528,10 @@
"default": false,
"x-go-name": "Active"
},
+ "branch_filter": {
+ "type": "string",
+ "x-go-name": "BranchFilter"
+ },
"config": {
"type": "object",
"additionalProperties": {
@@ -8124,6 +8128,10 @@
"type": "boolean",
"x-go-name": "Active"
},
+ "branch_filter": {
+ "type": "string",
+ "x-go-name": "BranchFilter"
+ },
"config": {
"type": "object",
"additionalProperties": {