[skip ci] Updated swagger docs
This commit is contained in:
parent
b642b2a453
commit
a193ac14c2
|
|
@ -67,6 +67,12 @@ const docTemplate = `{
|
||||||
"$ref": "#/definitions/auth.Token"
|
"$ref": "#/definitions/auth.Token"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"412": {
|
||||||
|
"description": "Invalid totp passcode.",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/models.Message"
|
||||||
|
}
|
||||||
|
},
|
||||||
"500": {
|
"500": {
|
||||||
"description": "Internal error",
|
"description": "Internal error",
|
||||||
"schema": {
|
"schema": {
|
||||||
|
|
@ -10062,6 +10068,10 @@ const docTemplate = `{
|
||||||
},
|
},
|
||||||
"scope": {
|
"scope": {
|
||||||
"type": "string"
|
"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"
|
"$ref": "#/definitions/auth.Token"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"412": {
|
||||||
|
"description": "Invalid totp passcode.",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/models.Message"
|
||||||
|
}
|
||||||
|
},
|
||||||
"500": {
|
"500": {
|
||||||
"description": "Internal error",
|
"description": "Internal error",
|
||||||
"schema": {
|
"schema": {
|
||||||
|
|
@ -10054,6 +10060,10 @@
|
||||||
},
|
},
|
||||||
"scope": {
|
"scope": {
|
||||||
"type": "string"
|
"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
|
type: string
|
||||||
scope:
|
scope:
|
||||||
type: string
|
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
|
type: object
|
||||||
todoist.Migration:
|
todoist.Migration:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -1832,6 +1838,10 @@ paths:
|
||||||
description: OK
|
description: OK
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/auth.Token'
|
$ref: '#/definitions/auth.Token'
|
||||||
|
"412":
|
||||||
|
description: Invalid totp passcode.
|
||||||
|
schema:
|
||||||
|
$ref: '#/definitions/models.Message'
|
||||||
"500":
|
"500":
|
||||||
description: Internal error
|
description: Internal error
|
||||||
schema:
|
schema:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue