summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-06-07 21:13:40 +0200
committerGitHub <noreply@github.com>2020-06-07 20:13:40 +0100
commit5814079bf5fd2369f8720a94128533bad21d1b17 (patch)
treeadfb71874aae1402af740d5daf2d2599730cbf5d /templates
parent880ae454db47b7a736024df230d115f83a108b02 (diff)
downloadgitea-5814079bf5fd2369f8720a94128533bad21d1b17.tar.gz
gitea-5814079bf5fd2369f8720a94128533bad21d1b17.zip
Add option to API to update PullRequest base branch (#11666)
* EditPull: add option to change base Close #11552
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index e91fad693d..cc802efc95 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -6676,6 +6676,9 @@
"403": {
"$ref": "#/responses/forbidden"
},
+ "409": {
+ "$ref": "#/responses/error"
+ },
"412": {
"$ref": "#/responses/error"
},
@@ -12187,6 +12190,10 @@
},
"x-go-name": "Assignees"
},
+ "base": {
+ "type": "string",
+ "x-go-name": "Base"
+ },
"body": {
"type": "string",
"x-go-name": "Body"