Clarify formats of string types for the POST /_matrix/client/v3/login endpoint

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2024-10-15 13:04:58 +02:00
parent 69d7dbf703
commit 334642822f
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D

View file

@ -172,6 +172,8 @@ paths:
properties:
user_id:
type: string
format: mx-user-id
pattern: "^@"
description: The fully-qualified Matrix ID for the account.
access_token:
type: string
@ -197,6 +199,7 @@ paths:
x-addedInMatrixVersion: "1.3"
home_server:
type: string
format: mx-server-name
deprecated: true
description: |-
The server_name of the homeserver on which the account has