[skip ci] Updated swagger docs
This commit is contained in:
parent
78fa5742c3
commit
719cb11d44
|
|
@ -6733,7 +6733,7 @@ const docTemplate = `{
|
||||||
"JWTKeyAuth": []
|
"JWTKeyAuth": []
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Changes the user avatar. Valid types are gravatar (uses the user email), upload, initials, default.",
|
"description": "Changes the user avatar. Valid types are gravatar (uses the user email), upload, initials, marble, ldap (synced from LDAP server), openid (synced from OpenID provider), default.",
|
||||||
"consumes": [
|
"consumes": [
|
||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
|
|
@ -7739,6 +7739,38 @@ const docTemplate = `{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"code_vikunja_io_api_pkg_modules_auth_openid.Provider": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"auth_url": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"client_id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"email_fallback": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"force_user_info": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"logout_url": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"scope": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"username_fallback": {
|
||||||
|
"type": "boolean"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"files.File": {
|
"files.File": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -9327,38 +9359,6 @@ const docTemplate = `{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"openid.Provider": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"auth_url": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"client_id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"email_fallback": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"force_user_info": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"key": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"logout_url": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"scope": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"username_fallback": {
|
|
||||||
"type": "boolean"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"todoist.Migration": {
|
"todoist.Migration": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -9522,7 +9522,7 @@ const docTemplate = `{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"avatar_provider": {
|
"avatar_provider": {
|
||||||
"description": "The avatar provider. Valid types are ` + "`" + `gravatar` + "`" + ` (uses the user email), ` + "`" + `upload` + "`" + `, ` + "`" + `initials` + "`" + `, ` + "`" + `marble` + "`" + ` (generates a random avatar for each user), ` + "`" + `default` + "`" + `.",
|
"description": "The avatar provider. Valid types are ` + "`" + `gravatar` + "`" + ` (uses the user email), ` + "`" + `upload` + "`" + `, ` + "`" + `initials` + "`" + `, ` + "`" + `marble` + "`" + ` (generates a random avatar for each user), ` + "`" + `ldap` + "`" + ` (synced from LDAP server), ` + "`" + `openid` + "`" + ` (synced from OpenID provider), ` + "`" + `default` + "`" + `.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -9725,7 +9725,7 @@ const docTemplate = `{
|
||||||
"providers": {
|
"providers": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/openid.Provider"
|
"$ref": "#/definitions/code_vikunja_io_api_pkg_modules_auth_openid.Provider"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6725,7 +6725,7 @@
|
||||||
"JWTKeyAuth": []
|
"JWTKeyAuth": []
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Changes the user avatar. Valid types are gravatar (uses the user email), upload, initials, default.",
|
"description": "Changes the user avatar. Valid types are gravatar (uses the user email), upload, initials, marble, ldap (synced from LDAP server), openid (synced from OpenID provider), default.",
|
||||||
"consumes": [
|
"consumes": [
|
||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
|
|
@ -7731,6 +7731,38 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"code_vikunja_io_api_pkg_modules_auth_openid.Provider": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"auth_url": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"client_id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"email_fallback": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"force_user_info": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"logout_url": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"scope": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"username_fallback": {
|
||||||
|
"type": "boolean"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"files.File": {
|
"files.File": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -9319,38 +9351,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"openid.Provider": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"auth_url": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"client_id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"email_fallback": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"force_user_info": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"key": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"logout_url": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"scope": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"username_fallback": {
|
|
||||||
"type": "boolean"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"todoist.Migration": {
|
"todoist.Migration": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -9514,7 +9514,7 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"avatar_provider": {
|
"avatar_provider": {
|
||||||
"description": "The avatar provider. Valid types are `gravatar` (uses the user email), `upload`, `initials`, `marble` (generates a random avatar for each user), `default`.",
|
"description": "The avatar provider. Valid types are `gravatar` (uses the user email), `upload`, `initials`, `marble` (generates a random avatar for each user), `ldap` (synced from LDAP server), `openid` (synced from OpenID provider), `default`.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -9717,7 +9717,7 @@
|
||||||
"providers": {
|
"providers": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/openid.Provider"
|
"$ref": "#/definitions/code_vikunja_io_api_pkg_modules_auth_openid.Provider"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,27 @@ definitions:
|
||||||
url:
|
url:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
code_vikunja_io_api_pkg_modules_auth_openid.Provider:
|
||||||
|
properties:
|
||||||
|
auth_url:
|
||||||
|
type: string
|
||||||
|
client_id:
|
||||||
|
type: string
|
||||||
|
email_fallback:
|
||||||
|
type: boolean
|
||||||
|
force_user_info:
|
||||||
|
type: boolean
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
logout_url:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
scope:
|
||||||
|
type: string
|
||||||
|
username_fallback:
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
files.File:
|
files.File:
|
||||||
properties:
|
properties:
|
||||||
created:
|
created:
|
||||||
|
|
@ -1254,27 +1275,6 @@ definitions:
|
||||||
scope:
|
scope:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
openid.Provider:
|
|
||||||
properties:
|
|
||||||
auth_url:
|
|
||||||
type: string
|
|
||||||
client_id:
|
|
||||||
type: string
|
|
||||||
email_fallback:
|
|
||||||
type: boolean
|
|
||||||
force_user_info:
|
|
||||||
type: boolean
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
logout_url:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
scope:
|
|
||||||
type: string
|
|
||||||
username_fallback:
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
todoist.Migration:
|
todoist.Migration:
|
||||||
properties:
|
properties:
|
||||||
code:
|
code:
|
||||||
|
|
@ -1393,7 +1393,8 @@ definitions:
|
||||||
avatar_provider:
|
avatar_provider:
|
||||||
description: The avatar provider. Valid types are `gravatar` (uses the user
|
description: The avatar provider. Valid types are `gravatar` (uses the user
|
||||||
email), `upload`, `initials`, `marble` (generates a random avatar for each
|
email), `upload`, `initials`, `marble` (generates a random avatar for each
|
||||||
user), `default`.
|
user), `ldap` (synced from LDAP server), `openid` (synced from OpenID provider),
|
||||||
|
`default`.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
v1.UserDeletionRequestConfirm:
|
v1.UserDeletionRequestConfirm:
|
||||||
|
|
@ -1549,7 +1550,7 @@ definitions:
|
||||||
type: boolean
|
type: boolean
|
||||||
providers:
|
providers:
|
||||||
items:
|
items:
|
||||||
$ref: '#/definitions/openid.Provider'
|
$ref: '#/definitions/code_vikunja_io_api_pkg_modules_auth_openid.Provider'
|
||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
v1.vikunjaInfos:
|
v1.vikunjaInfos:
|
||||||
|
|
@ -6246,7 +6247,8 @@ paths:
|
||||||
consumes:
|
consumes:
|
||||||
- application/json
|
- application/json
|
||||||
description: Changes the user avatar. Valid types are gravatar (uses the user
|
description: Changes the user avatar. Valid types are gravatar (uses the user
|
||||||
email), upload, initials, default.
|
email), upload, initials, marble, ldap (synced from LDAP server), openid (synced
|
||||||
|
from OpenID provider), default.
|
||||||
parameters:
|
parameters:
|
||||||
- description: The user's avatar setting
|
- description: The user's avatar setting
|
||||||
in: body
|
in: body
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue