[skip ci] Updated swagger docs
This commit is contained in:
parent
b642b2a453
commit
a193ac14c2
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue