1
0

fix(deps): update module github.com/swaggo/swag to v1.8.9 (#1327)

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1327
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
This commit is contained in:
renovate
2022-12-18 16:43:30 +00:00
committed by konrad
parent 6cb48e430e
commit e9ce930230
5 changed files with 651 additions and 477 deletions

View File

@ -7727,36 +7727,11 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who initially created the bucket.",
"$ref": "#/definitions/user.User"
},
"filter_by": {
"description": "The field name of the field to filter by",
"type": "array",
"items": {
"type": "string"
}
},
"filter_comparator": {
"description": "The comparator for field and value",
"type": "array",
"items": {
"type": "string"
}
},
"filter_concat": {
"description": "The way all filter conditions are concatenated together, can be either \"and\" or \"or\".,",
"type": "string"
},
"filter_include_nulls": {
"description": "If set to true, the result will also include null values",
"type": "boolean"
},
"filter_value": {
"description": "The value of the field name to filter by",
"type": "array",
"items": {
"type": "string"
}
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"id": {
"description": "The unique, numeric id of this bucket.",
@ -7775,24 +7750,10 @@ const docTemplate = `{
"description": "The list this bucket belongs to.",
"type": "integer"
},
"order_by": {
"description": "The query parameter to order the items by. This can be either asc or desc, with asc being the default.",
"type": "array",
"items": {
"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",
"items": {
"type": "string"
}
},
"tasks": {
"description": "All tasks which belong to this bucket.",
"type": "array",
@ -7808,9 +7769,7 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this bucket was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.BulkAssignees": {
@ -7822,9 +7781,7 @@ const docTemplate = `{
"items": {
"$ref": "#/definitions/user.User"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.BulkTask": {
@ -7858,7 +7815,11 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who initially created the task.",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"description": {
"description": "The task description.",
@ -7930,7 +7891,11 @@ const docTemplate = `{
},
"related_tasks": {
"description": "All related tasks, grouped by their relation kind",
"$ref": "#/definitions/models.RelatedTaskMap"
"allOf": [
{
"$ref": "#/definitions/models.RelatedTaskMap"
}
]
},
"reminder_dates": {
"description": "An array of datetimes when the user wants to be reminded of the task.",
@ -7945,7 +7910,11 @@ const docTemplate = `{
},
"repeat_mode": {
"description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.",
"type": "integer"
"allOf": [
{
"$ref": "#/definitions/models.TaskRepeatMode"
}
]
},
"start_date": {
"description": "When this task starts.",
@ -7953,7 +7922,11 @@ const docTemplate = `{
},
"subscription": {
"description": "The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one task.",
"$ref": "#/definitions/models.Subscription"
"allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
},
"task_ids": {
"description": "A list of task ids to update",
@ -7970,9 +7943,7 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.DatabaseNotifications": {
@ -8000,9 +7971,7 @@ const docTemplate = `{
"read_at": {
"description": "When this notification is marked as read, this will be updated with the current timestamp.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.Label": {
@ -8014,7 +7983,11 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who created this label",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"description": {
"description": "The label description.",
@ -8038,9 +8011,7 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this label was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.LabelTask": {
@ -8053,9 +8024,7 @@ const docTemplate = `{
"label_id": {
"description": "The label id you want to associate with a task.",
"type": "integer"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.LabelTaskBulk": {
@ -8067,9 +8036,7 @@ const docTemplate = `{
"items": {
"$ref": "#/definitions/models.Label"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.LinkSharing": {
@ -8097,26 +8064,36 @@ const docTemplate = `{
},
"right": {
"description": "The right this list is shared with. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0,
"maximum": 2
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
},
"shared_by": {
"description": "The user who shared this list",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"sharing_type": {
"description": "The kind of this link. 0 = undefined, 1 = without password, 2 = with password.",
"type": "integer",
"default": 0,
"maximum": 2
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.SharingType"
}
]
},
"updated": {
"description": "A timestamp when this share was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.List": {
@ -8165,7 +8142,11 @@ const docTemplate = `{
},
"owner": {
"description": "The user who created this list.",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$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.",
@ -8173,7 +8154,11 @@ const docTemplate = `{
},
"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"
"allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
},
"title": {
"description": "The title of the list. You'll see this in the namespace overview.",
@ -8184,9 +8169,7 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this list was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.ListDuplicate": {
@ -8194,14 +8177,16 @@ const docTemplate = `{
"properties": {
"list": {
"description": "The copied list",
"$ref": "#/definitions/models.List"
"allOf": [
{
"$ref": "#/definitions/models.List"
}
]
},
"namespace_id": {
"description": "The target namespace ID",
"type": "integer"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.ListUser": {
@ -8217,9 +8202,13 @@ const docTemplate = `{
},
"right": {
"description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0,
"maximum": 2
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
@ -8228,9 +8217,7 @@ const docTemplate = `{
"user_id": {
"description": "The username.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.Message": {
@ -8268,11 +8255,19 @@ const docTemplate = `{
},
"owner": {
"description": "The user who owns this namespace",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"subscription": {
"description": "The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one namespace.",
"$ref": "#/definitions/models.Subscription"
"allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
},
"title": {
"description": "The name of this namespace.",
@ -8283,9 +8278,7 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.NamespaceUser": {
@ -8301,9 +8294,13 @@ const docTemplate = `{
},
"right": {
"description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0,
"maximum": 2
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
@ -8312,9 +8309,7 @@ const docTemplate = `{
"user_id": {
"description": "The username.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.NamespaceWithLists": {
@ -8349,11 +8344,19 @@ const docTemplate = `{
},
"owner": {
"description": "The user who owns this namespace",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"subscription": {
"description": "The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one namespace.",
"$ref": "#/definitions/models.Subscription"
"allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
},
"title": {
"description": "The name of this namespace.",
@ -8364,9 +8367,7 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.RelatedTaskMap": {
@ -8378,6 +8379,50 @@ const docTemplate = `{
}
}
},
"models.RelationKind": {
"type": "string",
"enum": [
"unknown",
"subtask",
"parenttask",
"related",
"duplicateof",
"duplicates",
"blocking",
"blocked",
"precedes",
"follows",
"copiedfrom",
"copiedto"
],
"x-enum-varnames": [
"RelationKindUnknown",
"RelationKindSubtask",
"RelationKindParenttask",
"RelationKindRelated",
"RelationKindDuplicateOf",
"RelationKindDuplicates",
"RelationKindBlocking",
"RelationKindBlocked",
"RelationKindPreceeds",
"RelationKindFollows",
"RelationKindCopiedFrom",
"RelationKindCopiedTo"
]
},
"models.Right": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"RightRead",
"RightWrite",
"RightAdmin"
]
},
"models.SavedFilter": {
"type": "object",
"properties": {
@ -8391,7 +8436,11 @@ const docTemplate = `{
},
"filters": {
"description": "The actual filters this filter contains",
"$ref": "#/definitions/models.TaskCollection"
"allOf": [
{
"$ref": "#/definitions/models.TaskCollection"
}
]
},
"id": {
"description": "The unique numeric id of this saved filter",
@ -8403,7 +8452,11 @@ const docTemplate = `{
},
"owner": {
"description": "The user who owns this filter",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"title": {
"description": "The title of the filter.",
@ -8414,11 +8467,22 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this filter was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.SharingType": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"SharingTypeUnknown",
"SharingTypeWithoutPassword",
"SharingTypeWithPassword"
]
},
"models.Subscription": {
"type": "object",
"properties": {
@ -8439,10 +8503,12 @@ const docTemplate = `{
},
"user": {
"description": "The user who made this subscription",
"$ref": "#/definitions/user.User"
},
"web.CRUDable": {},
"web.Rights": {}
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}
}
},
"models.Task": {
@ -8476,7 +8542,11 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who initially created the task.",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"description": {
"description": "The task description.",
@ -8548,7 +8618,11 @@ const docTemplate = `{
},
"related_tasks": {
"description": "All related tasks, grouped by their relation kind",
"$ref": "#/definitions/models.RelatedTaskMap"
"allOf": [
{
"$ref": "#/definitions/models.RelatedTaskMap"
}
]
},
"reminder_dates": {
"description": "An array of datetimes when the user wants to be reminded of the task.",
@ -8563,7 +8637,11 @@ const docTemplate = `{
},
"repeat_mode": {
"description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.",
"type": "integer"
"allOf": [
{
"$ref": "#/definitions/models.TaskRepeatMode"
}
]
},
"start_date": {
"description": "When this task starts.",
@ -8571,7 +8649,11 @@ const docTemplate = `{
},
"subscription": {
"description": "The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one task.",
"$ref": "#/definitions/models.Subscription"
"allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
},
"title": {
"description": "The task text. This is what you'll see in the list.",
@ -8581,9 +8663,7 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.TaskAssginee": {
@ -8594,9 +8674,7 @@ const docTemplate = `{
},
"user_id": {
"type": "integer"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.TaskAttachment": {
@ -8616,9 +8694,7 @@ const docTemplate = `{
},
"task_id": {
"type": "integer"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.TaskCollection": {
@ -8666,9 +8742,7 @@ const docTemplate = `{
"items": {
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.TaskComment": {
@ -8688,9 +8762,7 @@ const docTemplate = `{
},
"updated": {
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.TaskRelation": {
@ -8702,7 +8774,11 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who created this relation",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"other_task_id": {
"description": "The ID of the other task, the task which is being related.",
@ -8710,16 +8786,31 @@ const docTemplate = `{
},
"relation_kind": {
"description": "The kind of the relation.",
"type": "string"
"allOf": [
{
"$ref": "#/definitions/models.RelationKind"
}
]
},
"task_id": {
"description": "The ID of the \"base\" task, the task which has a relation to another.",
"type": "integer"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.TaskRepeatMode": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"TaskRepeatModeDefault",
"TaskRepeatModeMonth",
"TaskRepeatModeFromCurrentDate"
]
},
"models.Team": {
"type": "object",
"properties": {
@ -8729,7 +8820,11 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who created this team.",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"description": {
"description": "The team's description.",
@ -8755,9 +8850,7 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.TeamList": {
@ -8773,9 +8866,13 @@ const docTemplate = `{
},
"right": {
"description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0,
"maximum": 2
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
},
"team_id": {
"description": "The team id.",
@ -8784,9 +8881,7 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.TeamMember": {
@ -8807,9 +8902,7 @@ const docTemplate = `{
"username": {
"description": "The username of the member. We use this to prevent automated user id entering.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.TeamNamespace": {
@ -8825,9 +8918,13 @@ const docTemplate = `{
},
"right": {
"description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0,
"maximum": 2
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
},
"team_id": {
"description": "The team id.",
@ -8836,9 +8933,7 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.TeamUser": {
@ -8874,8 +8969,7 @@ const docTemplate = `{
"type": "string",
"maxLength": 250,
"minLength": 1
},
"web.Auth": {}
}
}
},
"models.TeamWithRight": {
@ -8887,7 +8981,11 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who created this team.",
"$ref": "#/definitions/user.User"
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
},
"description": {
"description": "The team's description.",
@ -8911,16 +9009,12 @@ const docTemplate = `{
"minLength": 1
},
"right": {
"description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0
"$ref": "#/definitions/models.Right"
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
}
},
"models.UserWithRight": {
@ -8944,9 +9038,7 @@ const docTemplate = `{
"type": "string"
},
"right": {
"description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0
"$ref": "#/definitions/models.Right"
},
"updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.",
@ -8957,8 +9049,7 @@ const docTemplate = `{
"type": "string",
"maxLength": 250,
"minLength": 1
},
"web.Auth": {}
}
}
},
"notifications.DatabaseNotification": {
@ -9187,8 +9278,7 @@ const docTemplate = `{
"type": "string",
"maxLength": 250,
"minLength": 1
},
"web.Auth": {}
}
}
},
"v1.LinkShareAuth": {