Fixed swaggerdocs of description fields
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-07-18 18:18:32.365544639 +0200 CEST m=+0.166364676
|
||||
// 2019-07-21 23:56:59.485456403 +0200 CEST m=+0.091837160
|
||||
|
||||
package swagger
|
||||
|
||||
@ -58,7 +58,7 @@ var doc = `{
|
||||
"JWTKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Returns all labels which are either created by the user or associated with a task the user has at least read-access to.",
|
||||
"description": "Returns an array with all assignees for this task.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
@ -66,9 +66,9 @@ var doc = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"labels"
|
||||
"assignees"
|
||||
],
|
||||
"summary": "Get all labels a user has access to",
|
||||
"summary": "Get all assignees for a task",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "integer",
|
||||
@ -78,18 +78,18 @@ var doc = `{
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Search labels by label text.",
|
||||
"description": "Search assignees by their username.",
|
||||
"name": "s",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "The labels",
|
||||
"description": "The assignees",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/models.Label"
|
||||
"$ref": "#/definitions/models.User"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -412,7 +412,7 @@ var doc = `{
|
||||
"JWTKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Returns a team by its ID.",
|
||||
"description": "Returns a list by its ID.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
@ -420,13 +420,13 @@ var doc = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"team"
|
||||
"list"
|
||||
],
|
||||
"summary": "Gets one team",
|
||||
"summary": "Gets one list",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "Team ID",
|
||||
"description": "List ID",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
@ -434,14 +434,14 @@ var doc = `{
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "The team",
|
||||
"description": "The list",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/models.Team"
|
||||
"$ref": "#/definitions/models.List"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "The user does not have access to the team",
|
||||
"description": "The user does not have access to the list",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/code.vikunja.io.web.HTTPError"
|
||||
@ -3738,8 +3738,7 @@ var doc = `{
|
||||
},
|
||||
"description": {
|
||||
"description": "The task description.",
|
||||
"type": "string",
|
||||
"maxLength": 250
|
||||
"type": "string"
|
||||
},
|
||||
"done": {
|
||||
"description": "Whether a task is done or not.",
|
||||
@ -3849,8 +3848,7 @@ var doc = `{
|
||||
},
|
||||
"description": {
|
||||
"description": "The label description.",
|
||||
"type": "string",
|
||||
"maxLength": 250
|
||||
"type": "string"
|
||||
},
|
||||
"hex_color": {
|
||||
"description": "The color this label has",
|
||||
@ -3907,8 +3905,7 @@ var doc = `{
|
||||
},
|
||||
"description": {
|
||||
"description": "The description of the list.",
|
||||
"type": "string",
|
||||
"maxLength": 1000
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "The unique, numeric id of this list.",
|
||||
@ -3959,8 +3956,7 @@ var doc = `{
|
||||
},
|
||||
"description": {
|
||||
"description": "The task description.",
|
||||
"type": "string",
|
||||
"maxLength": 250
|
||||
"type": "string"
|
||||
},
|
||||
"done": {
|
||||
"description": "Whether a task is done or not.",
|
||||
@ -4096,8 +4092,7 @@ var doc = `{
|
||||
},
|
||||
"description": {
|
||||
"description": "The description of the namespace",
|
||||
"type": "string",
|
||||
"maxLength": 250
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "The unique, numeric id of this namespace.",
|
||||
@ -4156,8 +4151,7 @@ var doc = `{
|
||||
},
|
||||
"description": {
|
||||
"description": "The description of the namespace",
|
||||
"type": "string",
|
||||
"maxLength": 250
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "The unique, numeric id of this namespace.",
|
||||
@ -4222,9 +4216,7 @@ var doc = `{
|
||||
},
|
||||
"description": {
|
||||
"description": "The team's description.",
|
||||
"type": "string",
|
||||
"maxLength": 250,
|
||||
"minLength": 0
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "The unique, numeric id of this team.",
|
||||
@ -4374,9 +4366,7 @@ var doc = `{
|
||||
},
|
||||
"description": {
|
||||
"description": "The team's description.",
|
||||
"type": "string",
|
||||
"maxLength": 250,
|
||||
"minLength": 0
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "The unique, numeric id of this team.",
|
||||
|
Reference in New Issue
Block a user