diff options
author | 6543 <6543@obermui.de> | 2020-06-07 21:13:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-07 20:13:40 +0100 |
commit | 5814079bf5fd2369f8720a94128533bad21d1b17 (patch) | |
tree | adfb71874aae1402af740d5daf2d2599730cbf5d /templates | |
parent | 880ae454db47b7a736024df230d115f83a108b02 (diff) | |
download | gitea-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.tmpl | 7 |
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" |