diff options
author | Jason Song <i@wolfogre.com> | 2022-09-04 17:18:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-04 12:18:07 +0300 |
commit | 93a610a819688b54d4565b8cbbae7cc04c552073 (patch) | |
tree | 21fa5f55d958aa01eab6e6e370c02c6bc45ca869 /templates/swagger/v1_json.tmpl | |
parent | 0887459ac68a7d3605ba0f4a51df97b76e7cae9e (diff) | |
download | gitea-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.tmpl | 2 |
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" } |