diff options
author | Michael Santos <michael.santos@gmail.com> | 2023-10-09 07:22:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 11:22:12 +0000 |
commit | 5283ce9650b1ada6b4bd38212ca44ba77297a31b (patch) | |
tree | da0de2365da103e978a83f9dd703bbc9250cf250 /templates/swagger | |
parent | 65eea1d53696badfb1ef376e5268dbae942089b6 (diff) | |
download | gitea-5283ce9650b1ada6b4bd38212ca44ba77297a31b.tar.gz gitea-5283ce9650b1ada6b4bd38212ca44ba77297a31b.zip |
api: GetPullRequestCommits: return file list (#27483)
Fixes https://github.com/go-gitea/gitea/issues/27481
----
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index abe579ac82..2389ec3bee 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -5239,6 +5239,18 @@ "name": "sha", "in": "path", "required": true + }, + { + "type": "boolean", + "description": "include verification for every commit (disable for speedup, default 'true')", + "name": "verification", + "in": "query" + }, + { + "type": "boolean", + "description": "include a list of affected files for every commit (disable for speedup, default 'true')", + "name": "files", + "in": "query" } ], "responses": { @@ -10521,6 +10533,18 @@ "description": "page size of results", "name": "limit", "in": "query" + }, + { + "type": "boolean", + "description": "include verification for every commit (disable for speedup, default 'true')", + "name": "verification", + "in": "query" + }, + { + "type": "boolean", + "description": "include a list of affected files for every commit (disable for speedup, default 'true')", + "name": "files", + "in": "query" } ], "responses": { |