chore: generate swagger docs
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
036428c788
commit
ff780f3526
|
@ -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": {
|
||||
|
@ -9066,6 +9066,9 @@ var doc = `{
|
|||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -9110,14 +9113,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": {
|
||||
|
@ -9050,6 +9050,9 @@
|
|||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -9094,14 +9097,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"v1.TokenResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.UserAvatarProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -1209,6 +1209,8 @@ definitions:
|
|||
type: string
|
||||
id:
|
||||
type: integer
|
||||
token:
|
||||
type: string
|
||||
type: object
|
||||
user.User:
|
||||
properties:
|
||||
|
@ -1242,11 +1244,6 @@ definitions:
|
|||
password:
|
||||
type: string
|
||||
type: object
|
||||
v1.TokenResponse:
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
type: object
|
||||
v1.UserAvatarProvider:
|
||||
properties:
|
||||
avatar_provider:
|
||||
|
@ -6113,7 +6110,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.
|
||||
|
@ -6124,7 +6121,7 @@ paths:
|
|||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/v1.TokenResponse'
|
||||
$ref: '#/definitions/user.Token'
|
||||
"400":
|
||||
description: Something's invalid.
|
||||
schema:
|
||||
|
|
Loading…
Reference in New Issue