From debdcd4dd3fa6a9da847562a11e73e7510f2671d Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 20 Jan 2025 16:23:26 +0100 Subject: [PATCH] docs: clarify return value of /tasks --- pkg/models/task_collection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/task_collection.go b/pkg/models/task_collection.go index 2ccd93145..397c6e682 100644 --- a/pkg/models/task_collection.go +++ b/pkg/models/task_collection.go @@ -210,7 +210,7 @@ func getFilterValueForBucketFilter(filter string, view *ProjectView) (newFilter // ReadAll gets all tasks for a collection // @Summary Get tasks in a project -// @Description Returns all tasks for the current project. +// @Description Returns all tasks for the selected project. When the requested view is a kanban view, a list of buckets containing the tasks will be returned. Otherwise, a list of tasks will be returned. // @tags task // @Accept json // @Produce json