forked from vikunja/vikunja
[skip ci] Updated swagger docs
This commit is contained in:
parent
e8be657d97
commit
0984821b41
@ -4527,6 +4527,18 @@ const docTemplate = `{
|
||||
"name": "attachmentID",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "If set to true, a preview image will be returned if the attachment is an image.",
|
||||
"name": "preview",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "The size of the preview image. Can be sm = 100px, md = 200px, lg = 400px or xl = 800px.",
|
||||
"name": "size",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
@ -4519,6 +4519,18 @@
|
||||
"name": "attachmentID",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "If set to true, a preview image will be returned if the attachment is an image.",
|
||||
"name": "preview",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "The size of the preview image. Can be sm = 100px, md = 200px, lg = 400px or xl = 800px.",
|
||||
"name": "size",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
@ -4629,6 +4629,16 @@ paths:
|
||||
name: attachmentID
|
||||
required: true
|
||||
type: integer
|
||||
- description: If set to true, a preview image will be returned if the attachment
|
||||
is an image.
|
||||
in: query
|
||||
name: preview
|
||||
type: string
|
||||
- description: The size of the preview image. Can be sm = 100px, md = 200px,
|
||||
lg = 400px or xl = 800px.
|
||||
in: query
|
||||
name: size
|
||||
type: string
|
||||
produces:
|
||||
- application/octet-stream
|
||||
responses:
|
||||
|
Loading…
Reference in New Issue
Block a user