mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 19:44:09 +01: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:
|
||||
type:
|
||||
type: string
|
||||
enum:
|
||||
- m.login.password
|
||||
- m.login.token
|
||||
description: The login type being used.
|
||||
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:
|
||||
$ref: definitions/user_identifier.yaml
|
||||
user:
|
||||
|
|
|
|||
Loading…
Reference in a new issue