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

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#990
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
This commit is contained in:
renovate 2021-09-26 12:44:37 +00:00 committed by konrad
parent 4de8ec56a6
commit 0ca1560bf1
5 changed files with 254 additions and 85 deletions

2
go.mod
View File

@ -57,7 +57,7 @@ require (
github.com/spf13/cobra v1.2.1 github.com/spf13/cobra v1.2.1
github.com/spf13/viper v1.9.0 github.com/spf13/viper v1.9.0
github.com/stretchr/testify v1.7.0 github.com/stretchr/testify v1.7.0
github.com/swaggo/swag v1.7.1 github.com/swaggo/swag v1.7.3
github.com/ulule/limiter/v3 v3.8.0 github.com/ulule/limiter/v3 v3.8.0
github.com/yuin/goldmark v1.4.1 github.com/yuin/goldmark v1.4.1
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 golang.org/x/crypto v0.0.0-20210921155107-089bfa567519

4
go.sum
View File

@ -244,6 +244,7 @@ github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5x
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
github.com/gofrs/uuid v3.2.0+incompatible h1:y12jRkkFxsd7GpqdSZ+/KCs/fJbqpEXSGd4+jfEaewE= github.com/gofrs/uuid v3.2.0+incompatible h1:y12jRkkFxsd7GpqdSZ+/KCs/fJbqpEXSGd4+jfEaewE=
github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
@ -668,6 +669,7 @@ github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAm
github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4=
github.com/shopspring/decimal v0.0.0-20191009025716-f1972eb1d1f5 h1:Gojs/hac/DoYEM7WEICT45+hNWczIeuL5D21e5/HPAw= github.com/shopspring/decimal v0.0.0-20191009025716-f1972eb1d1f5 h1:Gojs/hac/DoYEM7WEICT45+hNWczIeuL5D21e5/HPAw=
github.com/shopspring/decimal v0.0.0-20191009025716-f1972eb1d1f5/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v0.0.0-20191009025716-f1972eb1d1f5/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4=
github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
@ -715,6 +717,8 @@ github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
github.com/swaggo/swag v1.7.1 h1:gY9ZakXlNWg/i/v5bQBic7VMZ4teq4m89lpiao74p/s= github.com/swaggo/swag v1.7.1 h1:gY9ZakXlNWg/i/v5bQBic7VMZ4teq4m89lpiao74p/s=
github.com/swaggo/swag v1.7.1/go.mod h1:gAiHxNTb9cIpNmA/VEGUP+CyZMCP/EW7mdtc8Bny+p8= github.com/swaggo/swag v1.7.1/go.mod h1:gAiHxNTb9cIpNmA/VEGUP+CyZMCP/EW7mdtc8Bny+p8=
github.com/swaggo/swag v1.7.3 h1:ucB7irEdRrhjmW+Z1Ss4GjO68oPKQFjSgOR8BCAvcbU=
github.com/swaggo/swag v1.7.3/go.mod h1:zD8h6h4SPv7t3l+4BKdRquqW1ASWjKZgT6Qv9z3kNqI=
github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE= github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE=
github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ= github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ=
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=

View File

@ -1,14 +1,13 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT // Package swagger GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag // This file was generated by swaggo/swag
package swagger package swagger
import ( import (
"bytes" "bytes"
"encoding/json" "encoding/json"
"strings" "strings"
"text/template"
"github.com/alecthomas/template"
"github.com/swaggo/swag" "github.com/swaggo/swag"
) )
@ -16,7 +15,7 @@ var doc = `{
"schemes": {{ marshal .Schemes }}, "schemes": {{ marshal .Schemes }},
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {
"description": "{{.Description}}", "description": "{{escape .Description}}",
"title": "{{.Title}}", "title": "{{.Title}}",
"contact": { "contact": {
"name": "General Vikunja contact", "name": "General Vikunja contact",
@ -7405,8 +7404,7 @@ var doc = `{
"type": "string" "type": "string"
}, },
"info": { "info": {
"description": "This can be used to supply extra information from an image provider to clients", "description": "This can be used to supply extra information from an image provider to clients"
"type": "object"
}, },
"thumb": { "thumb": {
"type": "string" "type": "string"
@ -7556,7 +7554,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this bucket was last updated. You cannot change this value.", "description": "A timestamp when this bucket was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.BulkAssignees": { "models.BulkAssignees": {
@ -7568,7 +7568,9 @@ var doc = `{
"items": { "items": {
"$ref": "#/definitions/user.User" "$ref": "#/definitions/user.User"
} }
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.BulkTask": { "models.BulkTask": {
@ -7710,7 +7712,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.", "description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.DatabaseNotifications": { "models.DatabaseNotifications": {
@ -7729,8 +7733,7 @@ var doc = `{
"type": "string" "type": "string"
}, },
"notification": { "notification": {
"description": "The actual content of the notification.", "description": "The actual content of the notification."
"type": "object"
}, },
"read": { "read": {
"description": "Whether or not to mark this notification as read or unread.\nTrue is read, false is unread.", "description": "Whether or not to mark this notification as read or unread.\nTrue is read, false is unread.",
@ -7739,7 +7742,9 @@ var doc = `{
"read_at": { "read_at": {
"description": "When this notification is marked as read, this will be updated with the current timestamp.", "description": "When this notification is marked as read, this will be updated with the current timestamp.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Label": { "models.Label": {
@ -7775,7 +7780,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this label was last updated. You cannot change this value.", "description": "A timestamp when this label was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LabelTask": { "models.LabelTask": {
@ -7788,7 +7795,9 @@ var doc = `{
"label_id": { "label_id": {
"description": "The label id you want to associate with a task.", "description": "The label id you want to associate with a task.",
"type": "integer" "type": "integer"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LabelTaskBulk": { "models.LabelTaskBulk": {
@ -7800,7 +7809,9 @@ var doc = `{
"items": { "items": {
"$ref": "#/definitions/models.Label" "$ref": "#/definitions/models.Label"
} }
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LinkSharing": { "models.LinkSharing": {
@ -7845,15 +7856,16 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this share was last updated. You cannot change this value.", "description": "A timestamp when this share was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.List": { "models.List": {
"type": "object", "type": "object",
"properties": { "properties": {
"background_information": { "background_information": {
"description": "Holds extra information about the background set since some background providers require attribution or similar. If not null, the background can be accessed at /lists/{listID}/background", "description": "Holds extra information about the background set since some background providers require attribution or similar. If not null, the background can be accessed at /lists/{listID}/background"
"type": "object"
}, },
"created": { "created": {
"description": "A timestamp when this list was created. You cannot change this value.", "description": "A timestamp when this list was created. You cannot change this value.",
@ -7910,7 +7922,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this list was last updated. You cannot change this value.", "description": "A timestamp when this list was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.ListDuplicate": { "models.ListDuplicate": {
@ -7923,7 +7937,9 @@ var doc = `{
"namespace_id": { "namespace_id": {
"description": "The target namespace ID", "description": "The target namespace ID",
"type": "integer" "type": "integer"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.ListUser": { "models.ListUser": {
@ -7950,7 +7966,9 @@ var doc = `{
"user_id": { "user_id": {
"description": "The username.", "description": "The username.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Message": { "models.Message": {
@ -8003,7 +8021,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.", "description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.NamespaceUser": { "models.NamespaceUser": {
@ -8030,7 +8050,9 @@ var doc = `{
"user_id": { "user_id": {
"description": "The username.", "description": "The username.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.NamespaceWithLists": { "models.NamespaceWithLists": {
@ -8080,7 +8102,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.", "description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.RelatedTaskMap": { "models.RelatedTaskMap": {
@ -8128,7 +8152,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this filter was last updated. You cannot change this value.", "description": "A timestamp when this filter was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Subscription": { "models.Subscription": {
@ -8152,7 +8178,9 @@ var doc = `{
"user": { "user": {
"description": "The user who made this subscription", "description": "The user who made this subscription",
"$ref": "#/definitions/user.User" "$ref": "#/definitions/user.User"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Task": { "models.Task": {
@ -8287,7 +8315,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.", "description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskAssginee": { "models.TaskAssginee": {
@ -8298,7 +8328,9 @@ var doc = `{
}, },
"user_id": { "user_id": {
"type": "integer" "type": "integer"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskAttachment": { "models.TaskAttachment": {
@ -8318,7 +8350,9 @@ var doc = `{
}, },
"task_id": { "task_id": {
"type": "integer" "type": "integer"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskCollection": { "models.TaskCollection": {
@ -8366,7 +8400,9 @@ var doc = `{
"items": { "items": {
"type": "string" "type": "string"
} }
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskComment": { "models.TaskComment": {
@ -8386,7 +8422,9 @@ var doc = `{
}, },
"updated": { "updated": {
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskRelation": { "models.TaskRelation": {
@ -8411,7 +8449,9 @@ var doc = `{
"task_id": { "task_id": {
"description": "The ID of the \"base\" task, the task which has a relation to another.", "description": "The ID of the \"base\" task, the task which has a relation to another.",
"type": "integer" "type": "integer"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Team": { "models.Team": {
@ -8449,7 +8489,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamList": { "models.TeamList": {
@ -8476,7 +8518,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamMember": { "models.TeamMember": {
@ -8497,7 +8541,9 @@ var doc = `{
"username": { "username": {
"description": "The username of the member. We use this to prevent automated user id entering.", "description": "The username of the member. We use this to prevent automated user id entering.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamNamespace": { "models.TeamNamespace": {
@ -8524,7 +8570,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamUser": { "models.TeamUser": {
@ -8560,7 +8608,8 @@ var doc = `{
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
} },
"web.Auth": {}
} }
}, },
"models.TeamWithRight": { "models.TeamWithRight": {
@ -8601,7 +8650,9 @@ var doc = `{
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.UserWithRight": { "models.UserWithRight": {
@ -8636,7 +8687,8 @@ var doc = `{
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
} },
"web.Auth": {}
} }
}, },
"notifications.DatabaseNotification": { "notifications.DatabaseNotification": {
@ -8655,8 +8707,7 @@ var doc = `{
"type": "string" "type": "string"
}, },
"notification": { "notification": {
"description": "The actual content of the notification.", "description": "The actual content of the notification."
"type": "object"
}, },
"read_at": { "read_at": {
"description": "When this notification is marked as read, this will be updated with the current timestamp.", "description": "When this notification is marked as read, this will be updated with the current timestamp.",
@ -8848,7 +8899,8 @@ var doc = `{
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
} },
"web.Auth": {}
} }
}, },
"v1.LinkShareAuth": { "v1.LinkShareAuth": {
@ -9097,6 +9149,13 @@ func (s *s) ReadDoc() string {
a, _ := json.Marshal(v) a, _ := json.Marshal(v)
return string(a) return string(a)
}, },
"escape": func(v interface{}) string {
// escape tabs
str := strings.Replace(v.(string), "\t", "\\t", -1)
// replace " with \", and if that results in \\", replace that with \\\"
str = strings.Replace(str, "\"", "\\\"", -1)
return strings.Replace(str, "\\\\\"", "\\\\\\\"", -1)
},
}).Parse(doc) }).Parse(doc)
if err != nil { if err != nil {
return doc return doc

View File

@ -7388,8 +7388,7 @@
"type": "string" "type": "string"
}, },
"info": { "info": {
"description": "This can be used to supply extra information from an image provider to clients", "description": "This can be used to supply extra information from an image provider to clients"
"type": "object"
}, },
"thumb": { "thumb": {
"type": "string" "type": "string"
@ -7539,7 +7538,9 @@
"updated": { "updated": {
"description": "A timestamp when this bucket was last updated. You cannot change this value.", "description": "A timestamp when this bucket was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.BulkAssignees": { "models.BulkAssignees": {
@ -7551,7 +7552,9 @@
"items": { "items": {
"$ref": "#/definitions/user.User" "$ref": "#/definitions/user.User"
} }
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.BulkTask": { "models.BulkTask": {
@ -7693,7 +7696,9 @@
"updated": { "updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.", "description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.DatabaseNotifications": { "models.DatabaseNotifications": {
@ -7712,8 +7717,7 @@
"type": "string" "type": "string"
}, },
"notification": { "notification": {
"description": "The actual content of the notification.", "description": "The actual content of the notification."
"type": "object"
}, },
"read": { "read": {
"description": "Whether or not to mark this notification as read or unread.\nTrue is read, false is unread.", "description": "Whether or not to mark this notification as read or unread.\nTrue is read, false is unread.",
@ -7722,7 +7726,9 @@
"read_at": { "read_at": {
"description": "When this notification is marked as read, this will be updated with the current timestamp.", "description": "When this notification is marked as read, this will be updated with the current timestamp.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Label": { "models.Label": {
@ -7758,7 +7764,9 @@
"updated": { "updated": {
"description": "A timestamp when this label was last updated. You cannot change this value.", "description": "A timestamp when this label was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LabelTask": { "models.LabelTask": {
@ -7771,7 +7779,9 @@
"label_id": { "label_id": {
"description": "The label id you want to associate with a task.", "description": "The label id you want to associate with a task.",
"type": "integer" "type": "integer"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LabelTaskBulk": { "models.LabelTaskBulk": {
@ -7783,7 +7793,9 @@
"items": { "items": {
"$ref": "#/definitions/models.Label" "$ref": "#/definitions/models.Label"
} }
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LinkSharing": { "models.LinkSharing": {
@ -7828,15 +7840,16 @@
"updated": { "updated": {
"description": "A timestamp when this share was last updated. You cannot change this value.", "description": "A timestamp when this share was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.List": { "models.List": {
"type": "object", "type": "object",
"properties": { "properties": {
"background_information": { "background_information": {
"description": "Holds extra information about the background set since some background providers require attribution or similar. If not null, the background can be accessed at /lists/{listID}/background", "description": "Holds extra information about the background set since some background providers require attribution or similar. If not null, the background can be accessed at /lists/{listID}/background"
"type": "object"
}, },
"created": { "created": {
"description": "A timestamp when this list was created. You cannot change this value.", "description": "A timestamp when this list was created. You cannot change this value.",
@ -7893,7 +7906,9 @@
"updated": { "updated": {
"description": "A timestamp when this list was last updated. You cannot change this value.", "description": "A timestamp when this list was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.ListDuplicate": { "models.ListDuplicate": {
@ -7906,7 +7921,9 @@
"namespace_id": { "namespace_id": {
"description": "The target namespace ID", "description": "The target namespace ID",
"type": "integer" "type": "integer"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.ListUser": { "models.ListUser": {
@ -7933,7 +7950,9 @@
"user_id": { "user_id": {
"description": "The username.", "description": "The username.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Message": { "models.Message": {
@ -7986,7 +8005,9 @@
"updated": { "updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.", "description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.NamespaceUser": { "models.NamespaceUser": {
@ -8013,7 +8034,9 @@
"user_id": { "user_id": {
"description": "The username.", "description": "The username.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.NamespaceWithLists": { "models.NamespaceWithLists": {
@ -8063,7 +8086,9 @@
"updated": { "updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.", "description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.RelatedTaskMap": { "models.RelatedTaskMap": {
@ -8111,7 +8136,9 @@
"updated": { "updated": {
"description": "A timestamp when this filter was last updated. You cannot change this value.", "description": "A timestamp when this filter was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Subscription": { "models.Subscription": {
@ -8135,7 +8162,9 @@
"user": { "user": {
"description": "The user who made this subscription", "description": "The user who made this subscription",
"$ref": "#/definitions/user.User" "$ref": "#/definitions/user.User"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Task": { "models.Task": {
@ -8270,7 +8299,9 @@
"updated": { "updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.", "description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskAssginee": { "models.TaskAssginee": {
@ -8281,7 +8312,9 @@
}, },
"user_id": { "user_id": {
"type": "integer" "type": "integer"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskAttachment": { "models.TaskAttachment": {
@ -8301,7 +8334,9 @@
}, },
"task_id": { "task_id": {
"type": "integer" "type": "integer"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskCollection": { "models.TaskCollection": {
@ -8349,7 +8384,9 @@
"items": { "items": {
"type": "string" "type": "string"
} }
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskComment": { "models.TaskComment": {
@ -8369,7 +8406,9 @@
}, },
"updated": { "updated": {
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskRelation": { "models.TaskRelation": {
@ -8394,7 +8433,9 @@
"task_id": { "task_id": {
"description": "The ID of the \"base\" task, the task which has a relation to another.", "description": "The ID of the \"base\" task, the task which has a relation to another.",
"type": "integer" "type": "integer"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Team": { "models.Team": {
@ -8432,7 +8473,9 @@
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamList": { "models.TeamList": {
@ -8459,7 +8502,9 @@
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamMember": { "models.TeamMember": {
@ -8480,7 +8525,9 @@
"username": { "username": {
"description": "The username of the member. We use this to prevent automated user id entering.", "description": "The username of the member. We use this to prevent automated user id entering.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamNamespace": { "models.TeamNamespace": {
@ -8507,7 +8554,9 @@
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamUser": { "models.TeamUser": {
@ -8543,7 +8592,8 @@
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
} },
"web.Auth": {}
} }
}, },
"models.TeamWithRight": { "models.TeamWithRight": {
@ -8584,7 +8634,9 @@
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
} },
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.UserWithRight": { "models.UserWithRight": {
@ -8619,7 +8671,8 @@
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
} },
"web.Auth": {}
} }
}, },
"notifications.DatabaseNotification": { "notifications.DatabaseNotification": {
@ -8638,8 +8691,7 @@
"type": "string" "type": "string"
}, },
"notification": { "notification": {
"description": "The actual content of the notification.", "description": "The actual content of the notification."
"type": "object"
}, },
"read_at": { "read_at": {
"description": "When this notification is marked as read, this will be updated with the current timestamp.", "description": "When this notification is marked as read, this will be updated with the current timestamp.",
@ -8831,7 +8883,8 @@
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
} },
"web.Auth": {}
} }
}, },
"v1.LinkShareAuth": { "v1.LinkShareAuth": {

View File

@ -12,7 +12,6 @@ definitions:
info: info:
description: This can be used to supply extra information from an image provider description: This can be used to supply extra information from an image provider
to clients to clients
type: object
thumb: thumb:
type: string type: string
url: url:
@ -125,6 +124,8 @@ definitions:
description: A timestamp when this bucket was last updated. You cannot change description: A timestamp when this bucket was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.BulkAssignees: models.BulkAssignees:
properties: properties:
@ -133,6 +134,8 @@ definitions:
items: items:
$ref: '#/definitions/user.User' $ref: '#/definitions/user.User'
type: array type: array
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.BulkTask: models.BulkTask:
properties: properties:
@ -259,6 +262,8 @@ definitions:
description: A timestamp when this task was last updated. You cannot change description: A timestamp when this task was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.DatabaseNotifications: models.DatabaseNotifications:
properties: properties:
@ -274,7 +279,6 @@ definitions:
type: string type: string
notification: notification:
description: The actual content of the notification. description: The actual content of the notification.
type: object
read: read:
description: |- description: |-
Whether or not to mark this notification as read or unread. Whether or not to mark this notification as read or unread.
@ -284,6 +288,8 @@ definitions:
description: When this notification is marked as read, this will be updated description: When this notification is marked as read, this will be updated
with the current timestamp. with the current timestamp.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.Label: models.Label:
properties: properties:
@ -314,6 +320,8 @@ definitions:
description: A timestamp when this label was last updated. You cannot change description: A timestamp when this label was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.LabelTask: models.LabelTask:
properties: properties:
@ -324,6 +332,8 @@ definitions:
label_id: label_id:
description: The label id you want to associate with a task. description: The label id you want to associate with a task.
type: integer type: integer
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.LabelTaskBulk: models.LabelTaskBulk:
properties: properties:
@ -332,6 +342,8 @@ definitions:
items: items:
$ref: '#/definitions/models.Label' $ref: '#/definitions/models.Label'
type: array type: array
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.LinkSharing: models.LinkSharing:
properties: properties:
@ -372,6 +384,8 @@ definitions:
description: A timestamp when this share was last updated. You cannot change description: A timestamp when this share was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.List: models.List:
properties: properties:
@ -379,7 +393,6 @@ definitions:
description: Holds extra information about the background set since some background description: Holds extra information about the background set since some background
providers require attribution or similar. If not null, the background can providers require attribution or similar. If not null, the background can
be accessed at /lists/{listID}/background be accessed at /lists/{listID}/background
type: object
created: created:
description: A timestamp when this list was created. You cannot change this description: A timestamp when this list was created. You cannot change this
value. value.
@ -429,6 +442,8 @@ definitions:
description: A timestamp when this list was last updated. You cannot change description: A timestamp when this list was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.ListDuplicate: models.ListDuplicate:
properties: properties:
@ -438,6 +453,8 @@ definitions:
namespace_id: namespace_id:
description: The target namespace ID description: The target namespace ID
type: integer type: integer
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.ListUser: models.ListUser:
properties: properties:
@ -461,6 +478,8 @@ definitions:
user_id: user_id:
description: The username. description: The username.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.Message: models.Message:
properties: properties:
@ -504,6 +523,8 @@ definitions:
description: A timestamp when this namespace was last updated. You cannot description: A timestamp when this namespace was last updated. You cannot
change this value. change this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.NamespaceUser: models.NamespaceUser:
properties: properties:
@ -527,6 +548,8 @@ definitions:
user_id: user_id:
description: The username. description: The username.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.NamespaceWithLists: models.NamespaceWithLists:
properties: properties:
@ -568,6 +591,8 @@ definitions:
description: A timestamp when this namespace was last updated. You cannot description: A timestamp when this namespace was last updated. You cannot
change this value. change this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.RelatedTaskMap: models.RelatedTaskMap:
additionalProperties: additionalProperties:
@ -606,6 +631,8 @@ definitions:
description: A timestamp when this filter was last updated. You cannot change description: A timestamp when this filter was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.Subscription: models.Subscription:
properties: properties:
@ -624,6 +651,8 @@ definitions:
user: user:
$ref: '#/definitions/user.User' $ref: '#/definitions/user.User'
description: The user who made this subscription description: The user who made this subscription
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.Task: models.Task:
properties: properties:
@ -745,6 +774,8 @@ definitions:
description: A timestamp when this task was last updated. You cannot change description: A timestamp when this task was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskAssginee: models.TaskAssginee:
properties: properties:
@ -752,6 +783,8 @@ definitions:
type: string type: string
user_id: user_id:
type: integer type: integer
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskAttachment: models.TaskAttachment:
properties: properties:
@ -765,6 +798,8 @@ definitions:
type: integer type: integer
task_id: task_id:
type: integer type: integer
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskCollection: models.TaskCollection:
properties: properties:
@ -802,6 +837,8 @@ definitions:
items: items:
type: string type: string
type: array type: array
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskComment: models.TaskComment:
properties: properties:
@ -815,6 +852,8 @@ definitions:
type: integer type: integer
updated: updated:
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskRelation: models.TaskRelation:
properties: properties:
@ -834,6 +873,8 @@ definitions:
task_id: task_id:
description: The ID of the "base" task, the task which has a relation to another. description: The ID of the "base" task, the task which has a relation to another.
type: integer type: integer
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.Team: models.Team:
properties: properties:
@ -864,6 +905,8 @@ definitions:
description: A timestamp when this relation was last updated. You cannot change description: A timestamp when this relation was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TeamList: models.TeamList:
properties: properties:
@ -887,6 +930,8 @@ definitions:
description: A timestamp when this relation was last updated. You cannot change description: A timestamp when this relation was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TeamMember: models.TeamMember:
properties: properties:
@ -905,6 +950,8 @@ definitions:
description: The username of the member. We use this to prevent automated description: The username of the member. We use this to prevent automated
user id entering. user id entering.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TeamNamespace: models.TeamNamespace:
properties: properties:
@ -928,6 +975,8 @@ definitions:
description: A timestamp when this relation was last updated. You cannot change description: A timestamp when this relation was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TeamUser: models.TeamUser:
properties: properties:
@ -958,6 +1007,7 @@ definitions:
maxLength: 250 maxLength: 250
minLength: 1 minLength: 1
type: string type: string
web.Auth: {}
type: object type: object
models.TeamWithRight: models.TeamWithRight:
properties: properties:
@ -990,6 +1040,8 @@ definitions:
description: A timestamp when this relation was last updated. You cannot change description: A timestamp when this relation was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.UserWithRight: models.UserWithRight:
properties: properties:
@ -1018,6 +1070,7 @@ definitions:
maxLength: 250 maxLength: 250
minLength: 1 minLength: 1
type: string type: string
web.Auth: {}
type: object type: object
notifications.DatabaseNotification: notifications.DatabaseNotification:
properties: properties:
@ -1033,7 +1086,6 @@ definitions:
type: string type: string
notification: notification:
description: The actual content of the notification. description: The actual content of the notification.
type: object
read_at: read_at:
description: When this notification is marked as read, this will be updated description: When this notification is marked as read, this will be updated
with the current timestamp. with the current timestamp.
@ -1172,6 +1224,7 @@ definitions:
maxLength: 250 maxLength: 250
minLength: 1 minLength: 1
type: string type: string
web.Auth: {}
type: object type: object
v1.LinkShareAuth: v1.LinkShareAuth:
properties: properties: