From 5283ce9650b1ada6b4bd38212ca44ba77297a31b Mon Sep 17 00:00:00 2001 From: Michael Santos Date: Mon, 9 Oct 2023 07:22:12 -0400 Subject: api: GetPullRequestCommits: return file list (#27483) Fixes https://github.com/go-gitea/gitea/issues/27481 ---- Co-authored-by: silverwind Co-authored-by: wxiaoguang --- templates/swagger/v1_json.tmpl | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'templates/swagger') 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": { -- cgit v1.2.3