swaggerdocs
the build was successful Details

This commit is contained in:
kolaente 2018-12-22 16:19:32 +01:00
parent 68659b52ee
commit 6cd431ffb5
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 38 additions and 22 deletions

View File

@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2018-12-21 22:26:31.78967283 +0100 CET m=+0.095021161
// 2018-12-22 16:18:46.44967995 +0100 CET m=+0.133725013
package docs
@ -91,7 +91,7 @@ var doc = `{
"ApiKeyAuth": []
}
],
"description": "Returns a list by its ID.",
"description": "Returns a team by its ID.",
"consumes": [
"application/json"
],
@ -99,13 +99,13 @@ var doc = `{
"application/json"
],
"tags": [
"list"
"team"
],
"summary": "Gets one list",
"summary": "Gets one team",
"parameters": [
{
"type": "integer",
"description": "List ID",
"description": "Team ID",
"name": "id",
"in": "path",
"required": true
@ -113,14 +113,14 @@ var doc = `{
],
"responses": {
"200": {
"description": "The list",
"description": "The team",
"schema": {
"type": "object",
"$ref": "#/definitions/models.List"
"$ref": "#/definitions/models.Team"
}
},
"403": {
"description": "The user does not have access to the list",
"description": "The user does not have access to the team",
"schema": {
"type": "object",
"$ref": "#/definitions/code.vikunja.io.web.HTTPError"
@ -2931,6 +2931,9 @@ var doc = `{
"dueDate": {
"type": "integer"
},
"endDate": {
"type": "integer"
},
"id": {
"type": "integer"
},
@ -2952,6 +2955,9 @@ var doc = `{
"repeatAfter": {
"type": "integer"
},
"startDate": {
"type": "integer"
},
"subtasks": {
"type": "array",
"items": {

View File

@ -78,7 +78,7 @@
"ApiKeyAuth": []
}
],
"description": "Returns a list by its ID.",
"description": "Returns a team by its ID.",
"consumes": [
"application/json"
],
@ -86,13 +86,13 @@
"application/json"
],
"tags": [
"list"
"team"
],
"summary": "Gets one list",
"summary": "Gets one team",
"parameters": [
{
"type": "integer",
"description": "List ID",
"description": "Team ID",
"name": "id",
"in": "path",
"required": true
@ -100,14 +100,14 @@
],
"responses": {
"200": {
"description": "The list",
"description": "The team",
"schema": {
"type": "object",
"$ref": "#/definitions/models.List"
"$ref": "#/definitions/models.Team"
}
},
"403": {
"description": "The user does not have access to the list",
"description": "The user does not have access to the team",
"schema": {
"type": "object",
"$ref": "#/definitions/code.vikunja.io/web.HTTPError"
@ -2917,6 +2917,9 @@
"dueDate": {
"type": "integer"
},
"endDate": {
"type": "integer"
},
"id": {
"type": "integer"
},
@ -2938,6 +2941,9 @@
"repeatAfter": {
"type": "integer"
},
"startDate": {
"type": "integer"
},
"subtasks": {
"type": "array",
"items": {

View File

@ -49,6 +49,8 @@ definitions:
type: boolean
dueDate:
type: integer
endDate:
type: integer
id:
type: integer
listID:
@ -63,6 +65,8 @@ definitions:
type: array
repeatAfter:
type: integer
startDate:
type: integer
subtasks:
items:
$ref: '#/definitions/models.ListTask'
@ -392,9 +396,9 @@ paths:
get:
consumes:
- application/json
description: Returns a list by its ID.
description: Returns a team by its ID.
parameters:
- description: List ID
- description: Team ID
in: path
name: id
required: true
@ -403,12 +407,12 @@ paths:
- application/json
responses:
"200":
description: The list
description: The team
schema:
$ref: '#/definitions/models.List'
$ref: '#/definitions/models.Team'
type: object
"403":
description: The user does not have access to the list
description: The user does not have access to the team
schema:
$ref: '#/definitions/code.vikunja.io/web.HTTPError'
type: object
@ -419,9 +423,9 @@ paths:
type: object
security:
- ApiKeyAuth: []
summary: Gets one list
summary: Gets one team
tags:
- list
- team
post:
consumes:
- application/json