Clarify formats of string types for the POST /_matrix/client/v3/login endpoint (#1980)

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
Kévin Commaille 2024-11-06 12:14:24 +01:00 committed by GitHub
parent f730987da6
commit e0bd054373
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1 @@
Clarify formats of string types.

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