aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
authorZettat123 <zettat123@gmail.com>2024-08-12 16:00:40 +0800
committerGitHub <noreply@github.com>2024-08-12 16:00:40 +0800
commit8883d99184e6d425cf5279cd2ab0b1664895c673 (patch)
treef54a1439982e18c44e3b29121532b655db47028e /templates/swagger/v1_json.tmpl
parent63c5ac6cdb6cf9da136839c2db3b3848d84f62d0 (diff)
downloadgitea-8883d99184e6d425cf5279cd2ab0b1664895c673.tar.gz
gitea-8883d99184e6d425cf5279cd2ab0b1664895c673.zip
Support issue template assignees (#31083)
Resolve #13955
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 18ea4a62b5..52d3754737 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -22345,6 +22345,9 @@
"type": "string",
"x-go-name": "About"
},
+ "assignees": {
+ "$ref": "#/definitions/IssueTemplateStringSlice"
+ },
"body": {
"type": "array",
"items": {
@@ -22361,7 +22364,7 @@
"x-go-name": "FileName"
},
"labels": {
- "$ref": "#/definitions/IssueTemplateLabels"
+ "$ref": "#/definitions/IssueTemplateStringSlice"
},
"name": {
"type": "string",
@@ -22378,7 +22381,7 @@
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
- "IssueTemplateLabels": {
+ "IssueTemplateStringSlice": {
"type": "array",
"items": {
"type": "string"