summaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2022-09-04 17:18:07 +0800
committerGitHub <noreply@github.com>2022-09-04 12:18:07 +0300
commit93a610a819688b54d4565b8cbbae7cc04c552073 (patch)
tree21fa5f55d958aa01eab6e6e370c02c6bc45ca869 /templates/swagger/v1_json.tmpl
parent0887459ac68a7d3605ba0f4a51df97b76e7cae9e (diff)
downloadgitea-93a610a819688b54d4565b8cbbae7cc04c552073.tar.gz
gitea-93a610a819688b54d4565b8cbbae7cc04c552073.zip
Fill the specified ref in webhook test payload (#20961)
The webhook payload should use the right ref when it‘s specified in the testing request. The compare URL should not be empty, a URL like `compare/A...A` seems useless in most cases but is helpful when testing.
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 63b124bd9e..15f71c244a 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -4666,7 +4666,7 @@
},
{
"type": "string",
- "description": "The name of the commit/branch/tag. Default the repository’s default branch (usually master)",
+ "description": "The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload.",
"name": "ref",
"in": "query"
}