forked from vikunja/vikunja
chore: generate swagger docs
This commit is contained in:
parent
a911b53e9e
commit
77a3216b17
@ -7074,7 +7074,7 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"put": {
|
||||
"security": [
|
||||
{
|
||||
"JWTKeyAuth": []
|
||||
@ -7095,7 +7095,7 @@ var doc = `{
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1.TokenResponse"
|
||||
"$ref": "#/definitions/user.Token"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@ -9025,6 +9025,9 @@ var doc = `{
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -9069,14 +9072,6 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.TokenResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.UserAvatarProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -7058,7 +7058,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"put": {
|
||||
"security": [
|
||||
{
|
||||
"JWTKeyAuth": []
|
||||
@ -7079,7 +7079,7 @@
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1.TokenResponse"
|
||||
"$ref": "#/definitions/user.Token"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@ -9009,6 +9009,9 @@
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -9053,14 +9056,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.TokenResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.UserAvatarProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -1205,6 +1205,8 @@ definitions:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
token:
|
||||
type: string
|
||||
type: object
|
||||
user.User:
|
||||
properties:
|
||||
@ -1238,11 +1240,6 @@ definitions:
|
||||
password:
|
||||
type: string
|
||||
type: object
|
||||
v1.TokenResponse:
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
type: object
|
||||
v1.UserAvatarProvider:
|
||||
properties:
|
||||
avatar_provider:
|
||||
@ -6105,7 +6102,7 @@ paths:
|
||||
summary: Returns the caldav tokens for the current user
|
||||
tags:
|
||||
- user
|
||||
post:
|
||||
put:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Generates a caldav token which can be used for the caldav api.
|
||||
@ -6116,7 +6113,7 @@ paths:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/v1.TokenResponse'
|
||||
$ref: '#/definitions/user.Token'
|
||||
"400":
|
||||
description: Something's invalid.
|
||||
schema:
|
||||
|
Loading…
x
Reference in New Issue
Block a user