[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot] 2026-04-09 17:42:29 +00:00
parent b642b2a453
commit a193ac14c2
3 changed files with 30 additions and 0 deletions

View File

@ -67,6 +67,12 @@ const docTemplate = `{
"$ref": "#/definitions/auth.Token"
}
},
"412": {
"description": "Invalid totp passcode.",
"schema": {
"$ref": "#/definitions/models.Message"
}
},
"500": {
"description": "Internal error",
"schema": {
@ -10062,6 +10068,10 @@ const docTemplate = `{
},
"scope": {
"type": "string"
},
"totp_passcode": {
"description": "TOTPPasscode is required when the resolved user has TOTP enabled.\nClients must restart the OIDC flow and populate this field after\nreceiving a 412 with error code 1017. See GHSA-8jvc-mcx6-r4cg.",
"type": "string"
}
}
},

View File

@ -59,6 +59,12 @@
"$ref": "#/definitions/auth.Token"
}
},
"412": {
"description": "Invalid totp passcode.",
"schema": {
"$ref": "#/definitions/models.Message"
}
},
"500": {
"description": "Internal error",
"schema": {
@ -10054,6 +10060,10 @@
},
"scope": {
"type": "string"
},
"totp_passcode": {
"description": "TOTPPasscode is required when the resolved user has TOTP enabled.\nClients must restart the OIDC flow and populate this field after\nreceiving a 412 with error code 1017. See GHSA-8jvc-mcx6-r4cg.",
"type": "string"
}
}
},

View File

@ -1270,6 +1270,12 @@ definitions:
type: string
scope:
type: string
totp_passcode:
description: |-
TOTPPasscode is required when the resolved user has TOTP enabled.
Clients must restart the OIDC flow and populate this field after
receiving a 412 with error code 1017. See GHSA-8jvc-mcx6-r4cg.
type: string
type: object
todoist.Migration:
properties:
@ -1832,6 +1838,10 @@ paths:
description: OK
schema:
$ref: '#/definitions/auth.Token'
"412":
description: Invalid totp passcode.
schema:
$ref: '#/definitions/models.Message'
"500":
description: Internal error
schema: