From 334642822f6550a697c4ca07ec5fb2028fc27f0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 15 Oct 2024 13:04:58 +0200 Subject: [PATCH] Clarify formats of string types for the `POST /_matrix/client/v3/login` endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- data/api/client-server/login.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/api/client-server/login.yaml b/data/api/client-server/login.yaml index 385eb33b6..28de0be12 100644 --- a/data/api/client-server/login.yaml +++ b/data/api/client-server/login.yaml @@ -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