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