From f403a6d3f5a44adf5762b4b7356ee115f5644f8a Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 27 Jul 2021 21:24:22 +0200 Subject: [PATCH] Update swagger docs --- pkg/swagger/docs.go | 16 ++++++++++++++++ pkg/swagger/swagger.json | 16 ++++++++++++++++ pkg/swagger/swagger.yaml | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/pkg/swagger/docs.go b/pkg/swagger/docs.go index 1743ccd2d..e0c52082d 100644 --- a/pkg/swagger/docs.go +++ b/pkg/swagger/docs.go @@ -7218,6 +7218,10 @@ var doc = `{ "type": "string" } }, + "position": { + "description": "The position this bucket has when querying all buckets. See the tasks.position property on how to use this.", + "type": "number" + }, "sort_by": { "description": "The query parameter to sort by. This is for ex. done, priority, etc.", "type": "array", @@ -7325,6 +7329,10 @@ var doc = `{ "description": "True if a task is a favorite task. Favorite tasks show up in a separate \"Important\" list. This value depends on the user making the call to the api.", "type": "boolean" }, + "kanban_position": { + "description": "The position of tasks in the kanban board. See the docs for the ` + "`" + `position` + "`" + ` property on how to use this.", + "type": "number" + }, "labels": { "description": "An array of labels which are associated with this task.", "type": "array", @@ -7573,6 +7581,10 @@ var doc = `{ "description": "The user who created this list.", "$ref": "#/definitions/user.User" }, + "position": { + "description": "The position this list has when querying all lists. See the tasks.position property on how to use this.", + "type": "number" + }, "subscription": { "description": "The subscription status for the user reading this list. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one list.", "$ref": "#/definitions/models.Subscription" @@ -7901,6 +7913,10 @@ var doc = `{ "description": "True if a task is a favorite task. Favorite tasks show up in a separate \"Important\" list. This value depends on the user making the call to the api.", "type": "boolean" }, + "kanban_position": { + "description": "The position of tasks in the kanban board. See the docs for the ` + "`" + `position` + "`" + ` property on how to use this.", + "type": "number" + }, "labels": { "description": "An array of labels which are associated with this task.", "type": "array", diff --git a/pkg/swagger/swagger.json b/pkg/swagger/swagger.json index 6514dc4ba..2bc4b1ef0 100644 --- a/pkg/swagger/swagger.json +++ b/pkg/swagger/swagger.json @@ -7201,6 +7201,10 @@ "type": "string" } }, + "position": { + "description": "The position this bucket has when querying all buckets. See the tasks.position property on how to use this.", + "type": "number" + }, "sort_by": { "description": "The query parameter to sort by. This is for ex. done, priority, etc.", "type": "array", @@ -7308,6 +7312,10 @@ "description": "True if a task is a favorite task. Favorite tasks show up in a separate \"Important\" list. This value depends on the user making the call to the api.", "type": "boolean" }, + "kanban_position": { + "description": "The position of tasks in the kanban board. See the docs for the `position` property on how to use this.", + "type": "number" + }, "labels": { "description": "An array of labels which are associated with this task.", "type": "array", @@ -7556,6 +7564,10 @@ "description": "The user who created this list.", "$ref": "#/definitions/user.User" }, + "position": { + "description": "The position this list has when querying all lists. See the tasks.position property on how to use this.", + "type": "number" + }, "subscription": { "description": "The subscription status for the user reading this list. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one list.", "$ref": "#/definitions/models.Subscription" @@ -7884,6 +7896,10 @@ "description": "True if a task is a favorite task. Favorite tasks show up in a separate \"Important\" list. This value depends on the user making the call to the api.", "type": "boolean" }, + "kanban_position": { + "description": "The position of tasks in the kanban board. See the docs for the `position` property on how to use this.", + "type": "number" + }, "labels": { "description": "An array of labels which are associated with this task.", "type": "array", diff --git a/pkg/swagger/swagger.yaml b/pkg/swagger/swagger.yaml index ec7e0c9ab..3f5aebca1 100644 --- a/pkg/swagger/swagger.yaml +++ b/pkg/swagger/swagger.yaml @@ -102,6 +102,10 @@ definitions: items: type: string type: array + position: + description: The position this bucket has when querying all buckets. See the + tasks.position property on how to use this. + type: number sort_by: description: The query parameter to sort by. This is for ex. done, priority, etc. @@ -186,6 +190,10 @@ definitions: a separate "Important" list. This value depends on the user making the call to the api. type: boolean + kanban_position: + description: The position of tasks in the kanban board. See the docs for the + `position` property on how to use this. + type: number labels: description: An array of labels which are associated with this task. items: @@ -403,6 +411,10 @@ definitions: owner: $ref: '#/definitions/user.User' description: The user who created this list. + position: + description: The position this list has when querying all lists. See the tasks.position + property on how to use this. + type: number subscription: $ref: '#/definitions/models.Subscription' description: |- @@ -669,6 +681,10 @@ definitions: a separate "Important" list. This value depends on the user making the call to the api. type: boolean + kanban_position: + description: The position of tasks in the kanban board. See the docs for the + `position` property on how to use this. + type: number labels: description: An array of labels which are associated with this task. items: