diff options
author | Peter Hoffmann <Hoffmann.P@gmx.net> | 2018-10-28 23:03:02 +0100 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-10-28 18:03:02 -0400 |
commit | fb14458010e1c18dc08549bbe83cab56fc690bc7 (patch) | |
tree | ebbb34e05fb6f4e1ccd1f827813cc18c5e2a63b6 /templates | |
parent | 48badd59e9401df50f36dbd19a4a8167265d618d (diff) | |
download | gitea-fb14458010e1c18dc08549bbe83cab56fc690bc7.tar.gz gitea-fb14458010e1c18dc08549bbe83cab56fc690bc7.zip |
fix: Add secret to all webhook's payload where it has been missing (#5199)
* fix: Add secret to all webhook's payload where it has been missing
affects webhooks for:
* Delete
* Fork
* IssueComment
* Release
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 4987691fda..efba90b18b 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -6366,6 +6366,10 @@ "format": "date-time", "x-go-name": "Created" }, + "fingerprint": { + "type": "string", + "x-go-name": "Fingerprint" + }, "id": { "type": "integer", "format": "int64", @@ -6375,10 +6379,18 @@ "type": "string", "x-go-name": "Key" }, + "key_id": { + "type": "integer", + "format": "int64", + "x-go-name": "KeyID" + }, "read_only": { "type": "boolean", "x-go-name": "ReadOnly" }, + "repository": { + "$ref": "#/definitions/Repository" + }, "title": { "type": "string", "x-go-name": "Title" @@ -7260,6 +7272,14 @@ "type": "string", "x-go-name": "Key" }, + "key_type": { + "type": "string", + "x-go-name": "KeyType" + }, + "read_only": { + "type": "boolean", + "x-go-name": "ReadOnly" + }, "title": { "type": "string", "x-go-name": "Title" @@ -7267,6 +7287,9 @@ "url": { "type": "string", "x-go-name": "URL" + }, + "user": { + "$ref": "#/definitions/User" } }, "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea" @@ -7481,6 +7504,10 @@ "description": "Repository represents a repository", "type": "object", "properties": { + "archived": { + "type": "boolean", + "x-go-name": "Archived" + }, "clone_url": { "type": "string", "x-go-name": "CloneURL" |