Fixed swagger docs for bulk label tasks
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
// This file was generated by swaggo/swag at
|
||||
// 2019-03-21 07:40:14.605699742 +0100 CET m=+0.177681498
|
||||
// 2019-03-21 18:42:06.413170199 +0100 CET m=+0.170405951
|
||||
|
||||
package swagger
|
||||
|
||||
@ -37,7 +37,7 @@ var doc = `{
|
||||
"JWTKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Returns an array with all assignees for this task.",
|
||||
"description": "Returns all labels which are either created by the user or associated with a task the user has at least read-access to.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
@ -45,9 +45,9 @@ var doc = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"assignees"
|
||||
"labels"
|
||||
],
|
||||
"summary": "Get all assignees for a task",
|
||||
"summary": "Get all labels a user has access to",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "integer",
|
||||
@ -57,18 +57,18 @@ var doc = `{
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Search assignees by their username.",
|
||||
"description": "Search labels by label text.",
|
||||
"name": "s",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "The assignees",
|
||||
"description": "The labels",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/models.User"
|
||||
"$ref": "#/definitions/models.Label"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -2725,7 +2725,7 @@ var doc = `{
|
||||
"JWTKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Adds multiple new labels to a task.",
|
||||
"description": "Updates all labels on a task. Every label which is not passed but exists on the task will be deleted. Every label which does not exist on the task will be added. All labels which are passed and already exist on the task won't be touched.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
@ -2735,7 +2735,7 @@ var doc = `{
|
||||
"tags": [
|
||||
"labels"
|
||||
],
|
||||
"summary": "Add multiple new labels to a task",
|
||||
"summary": "Update all labels on a task.",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "The array of labels",
|
||||
@ -3820,7 +3820,7 @@ var doc = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"labels": {
|
||||
"description": "All labels you want to update at once. Works exactly like you would update labels while updateing a list.",
|
||||
"description": "All labels you want to update at once.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/models.Label"
|
||||
|
Reference in New Issue
Block a user