mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-30 16:01:24 +00:00
Update issue.go with labels documentation (labels content, not ids) (#35522)
For https://github.com/go-gitea/gitea/issues/35521 --------- Signed-off-by: Fabien Benetou <fabien-services@benetou.fr>
This commit is contained in:
@@ -351,7 +351,7 @@ func ListIssues(ctx *context.APIContext) {
|
|||||||
// enum: [closed, open, all]
|
// enum: [closed, open, all]
|
||||||
// - name: labels
|
// - name: labels
|
||||||
// in: query
|
// in: query
|
||||||
// description: comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded
|
// description: comma separated list of label names. Fetch only issues that have any of this label names. Non existent labels are discarded.
|
||||||
// type: string
|
// type: string
|
||||||
// - name: q
|
// - name: q
|
||||||
// in: query
|
// in: query
|
||||||
|
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
@@ -9109,7 +9109,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded",
|
"description": "comma separated list of label names. Fetch only issues that have any of this label names. Non existent labels are discarded.",
|
||||||
"name": "labels",
|
"name": "labels",
|
||||||
"in": "query"
|
"in": "query"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user