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:
Kévin Commaille 2024-04-03 12:34:50 +02:00
parent d547154c91
commit 05980222e5
No known key found for this signature in database
GPG key ID: 29A48C1F03620416

View file

@ -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: