aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorMichael Santos <michael.santos@gmail.com>2023-10-09 07:22:12 -0400
committerGitHub <noreply@github.com>2023-10-09 11:22:12 +0000
commit5283ce9650b1ada6b4bd38212ca44ba77297a31b (patch)
treeda0de2365da103e978a83f9dd703bbc9250cf250 /templates/swagger
parent65eea1d53696badfb1ef376e5268dbae942089b6 (diff)
downloadgitea-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.tmpl24
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": {