aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-06-16 20:39:52 +0800
committerGitHub <noreply@github.com>2019-06-16 20:39:52 +0800
commitd8168b356d3ddaf3c38815a46ab075bf5bbe93c6 (patch)
tree96d31b185042027171574e6a370c90f6b3b0e508 /templates
parent367aeb169ac9f213a047bad24bbb3a4f58e3362a (diff)
downloadgitea-d8168b356d3ddaf3c38815a46ab075bf5bbe93c6.tar.gz
gitea-d8168b356d3ddaf3c38815a46ab075bf5bbe93c6.zip
Add missing description of label on API (#7159)
* add missing description of label on API * fix comment head * fix swagger
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 6f9585fae2..6c2708dd96 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -7245,6 +7245,10 @@
"x-go-name": "Color",
"example": "#00aabb"
},
+ "description": {
+ "type": "string",
+ "x-go-name": "Description"
+ },
"name": {
"type": "string",
"x-go-name": "Name"
@@ -7775,6 +7779,10 @@
"type": "string",
"x-go-name": "Color"
},
+ "description": {
+ "type": "string",
+ "x-go-name": "Description"
+ },
"name": {
"type": "string",
"x-go-name": "Name"
@@ -8663,6 +8671,10 @@
"x-go-name": "Color",
"example": "00aabb"
},
+ "description": {
+ "type": "string",
+ "x-go-name": "Description"
+ },
"id": {
"type": "integer",
"format": "int64",