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>
pull/1776/head
Kévin Commaille 2 months ago
parent d547154c91
commit 05980222e5
No known key found for this signature in database
GPG Key ID: 29A48C1F03620416

@ -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…
Cancel
Save