diff options
author | 6543 <6543@obermui.de> | 2020-12-15 18:38:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 19:38:10 +0100 |
commit | e2aa7018128bc00c079820174baced9c8d6908c1 (patch) | |
tree | 5f2d3e3d195f8a0597c02ab0e0ba352583980eed /templates | |
parent | 980b0df8296cdec3692482c3efdbfa68036a1114 (diff) | |
download | gitea-e2aa7018128bc00c079820174baced9c8d6908c1.tar.gz gitea-e2aa7018128bc00c079820174baced9c8d6908c1.zip |
[API] Add ref to create/edit issue options & deprecated assignee (#13992)
* API: Add ref to create/edit issue options
* deprecate Assignee in favour of Assignees
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index e77651b15e..6eb53a3d70 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -11937,7 +11937,7 @@ ], "properties": { "assignee": { - "description": "username of assignee", + "description": "deprecated", "type": "string", "x-go-name": "Assignee" }, @@ -11976,6 +11976,10 @@ "format": "int64", "x-go-name": "Milestone" }, + "ref": { + "type": "string", + "x-go-name": "Ref" + }, "title": { "type": "string", "x-go-name": "Title" @@ -12778,6 +12782,7 @@ "type": "object", "properties": { "assignee": { + "description": "deprecated", "type": "string", "x-go-name": "Assignee" }, @@ -12802,6 +12807,10 @@ "format": "int64", "x-go-name": "Milestone" }, + "ref": { + "type": "string", + "x-go-name": "Ref" + }, "state": { "type": "string", "x-go-name": "State" |