diff --git a/pkg/swagger/docs.go b/pkg/swagger/docs.go index a10a4ebb4..a922d593e 100644 --- a/pkg/swagger/docs.go +++ b/pkg/swagger/docs.go @@ -8395,7 +8395,11 @@ const docTemplate = `{ }, "filter": { "description": "The filter query to match tasks by. Check out https://vikunja.io/docs/filters for a full explanation.", - "type": "string" + "allOf": [ + { + "$ref": "#/definitions/models.TaskCollection" + } + ] }, "id": { "description": "The unique numeric id of this view", @@ -8431,7 +8435,7 @@ const docTemplate = `{ "type": "object", "properties": { "filter": { - "type": "string" + "$ref": "#/definitions/models.TaskCollection" }, "title": { "type": "string" @@ -8865,6 +8869,9 @@ const docTemplate = `{ "type": "string" } }, + "s": { + "type": "string" + }, "sort_by": { "description": "The query parameter to sort by. This is for ex. done, priority, etc.", "type": "array", diff --git a/pkg/swagger/swagger.json b/pkg/swagger/swagger.json index 1a0356a6d..59b0f86f3 100644 --- a/pkg/swagger/swagger.json +++ b/pkg/swagger/swagger.json @@ -8387,7 +8387,11 @@ }, "filter": { "description": "The filter query to match tasks by. Check out https://vikunja.io/docs/filters for a full explanation.", - "type": "string" + "allOf": [ + { + "$ref": "#/definitions/models.TaskCollection" + } + ] }, "id": { "description": "The unique numeric id of this view", @@ -8423,7 +8427,7 @@ "type": "object", "properties": { "filter": { - "type": "string" + "$ref": "#/definitions/models.TaskCollection" }, "title": { "type": "string" @@ -8857,6 +8861,9 @@ "type": "string" } }, + "s": { + "type": "string" + }, "sort_by": { "description": "The query parameter to sort by. This is for ex. done, priority, etc.", "type": "array", diff --git a/pkg/swagger/swagger.yaml b/pkg/swagger/swagger.yaml index 974d25abc..ed801e27c 100644 --- a/pkg/swagger/swagger.yaml +++ b/pkg/swagger/swagger.yaml @@ -538,9 +538,10 @@ definitions: If they are marked as done individually, they are moved into the done bucket. type: integer filter: + allOf: + - $ref: '#/definitions/models.TaskCollection' description: The filter query to match tasks by. Check out https://vikunja.io/docs/filters for a full explanation. - type: string id: description: The unique numeric id of this view type: integer @@ -566,7 +567,7 @@ definitions: models.ProjectViewBucketConfiguration: properties: filter: - type: string + $ref: '#/definitions/models.TaskCollection' title: type: string type: object @@ -900,6 +901,8 @@ definitions: items: type: string type: array + s: + type: string sort_by: description: The query parameter to sort by. This is for ex. done, priority, etc.