[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot] 2024-12-22 23:39:06 +00:00 committed by renovate
parent 6e55330b6e
commit 0826d72e38
3 changed files with 36 additions and 36 deletions

View File

@ -64,7 +64,7 @@ const docTemplate = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/auth.Token"
"$ref": "#/definitions/code_vikunja_io_api_pkg_modules_auth.Token"
}
},
"500": {
@ -741,7 +741,7 @@ const docTemplate = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/auth.Token"
"$ref": "#/definitions/code_vikunja_io_api_pkg_modules_auth.Token"
}
},
"400": {
@ -3923,7 +3923,7 @@ const docTemplate = `{
"200": {
"description": "The valid jwt auth token.",
"schema": {
"$ref": "#/definitions/auth.Token"
"$ref": "#/definitions/code_vikunja_io_api_pkg_modules_auth.Token"
}
},
"400": {
@ -7360,7 +7360,7 @@ const docTemplate = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/auth.Token"
"$ref": "#/definitions/code_vikunja_io_api_pkg_modules_auth.Token"
}
},
"400": {
@ -7696,15 +7696,6 @@ const docTemplate = `{
}
},
"definitions": {
"auth.Token": {
"type": "object",
"properties": {
"token": {
"type": "string",
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
}
},
"background.Image": {
"type": "object",
"properties": {
@ -7725,6 +7716,15 @@ const docTemplate = `{
}
}
},
"code_vikunja_io_api_pkg_modules_auth.Token": {
"type": "object",
"properties": {
"token": {
"type": "string",
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
}
},
"files.File": {
"type": "object",
"properties": {

View File

@ -56,7 +56,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/auth.Token"
"$ref": "#/definitions/code_vikunja_io_api_pkg_modules_auth.Token"
}
},
"500": {
@ -733,7 +733,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/auth.Token"
"$ref": "#/definitions/code_vikunja_io_api_pkg_modules_auth.Token"
}
},
"400": {
@ -3915,7 +3915,7 @@
"200": {
"description": "The valid jwt auth token.",
"schema": {
"$ref": "#/definitions/auth.Token"
"$ref": "#/definitions/code_vikunja_io_api_pkg_modules_auth.Token"
}
},
"400": {
@ -7352,7 +7352,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/auth.Token"
"$ref": "#/definitions/code_vikunja_io_api_pkg_modules_auth.Token"
}
},
"400": {
@ -7688,15 +7688,6 @@
}
},
"definitions": {
"auth.Token": {
"type": "object",
"properties": {
"token": {
"type": "string",
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
}
},
"background.Image": {
"type": "object",
"properties": {
@ -7717,6 +7708,15 @@
}
}
},
"code_vikunja_io_api_pkg_modules_auth.Token": {
"type": "object",
"properties": {
"token": {
"type": "string",
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
}
},
"files.File": {
"type": "object",
"properties": {

View File

@ -1,11 +1,5 @@
basePath: /api/v1
definitions:
auth.Token:
properties:
token:
example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
type: string
type: object
background.Image:
properties:
blur_hash:
@ -20,6 +14,12 @@ definitions:
url:
type: string
type: object
code_vikunja_io_api_pkg_modules_auth.Token:
properties:
token:
example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
type: string
type: object
files.File:
properties:
created:
@ -1785,7 +1785,7 @@ paths:
"200":
description: OK
schema:
$ref: '#/definitions/auth.Token'
$ref: '#/definitions/code_vikunja_io_api_pkg_modules_auth.Token'
"500":
description: Internal error
schema:
@ -2226,7 +2226,7 @@ paths:
"200":
description: OK
schema:
$ref: '#/definitions/auth.Token'
$ref: '#/definitions/code_vikunja_io_api_pkg_modules_auth.Token'
"400":
description: Invalid user password model.
schema:
@ -4337,7 +4337,7 @@ paths:
"200":
description: The valid jwt auth token.
schema:
$ref: '#/definitions/auth.Token'
$ref: '#/definitions/code_vikunja_io_api_pkg_modules_auth.Token'
"400":
description: Invalid link share object provided.
schema:
@ -6607,7 +6607,7 @@ paths:
"200":
description: OK
schema:
$ref: '#/definitions/auth.Token'
$ref: '#/definitions/code_vikunja_io_api_pkg_modules_auth.Token'
"400":
description: Only user token are available for renew.
schema: