[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot] 2024-11-19 16:44:45 +00:00 committed by kolaente
parent d616bab76d
commit 940b450a56
3 changed files with 23 additions and 6 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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.