mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-01 00:34:10 +02:00
Remove enum for POST /login type definition
Since the enum is not exhaustive, improve the description of the property instead. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
d547154c91
commit
05980222e5
|
|
@ -109,10 +109,13 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
description: |-
|
||||||
- m.login.password
|
The login type being used.
|
||||||
- m.login.token
|
|
||||||
description: The login type being used.
|
This must be a type returned in one of the flows of the
|
||||||
|
response of the [`GET /login`](/client-server-api/#get_matrixclientv3login)
|
||||||
|
endpoint, like `m.login.password`, `m.login.token` or
|
||||||
|
`m.login.sso`.
|
||||||
identifier:
|
identifier:
|
||||||
$ref: definitions/user_identifier.yaml
|
$ref: definitions/user_identifier.yaml
|
||||||
user:
|
user:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue