Clarify formats of string types in current account information section

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2025-01-06 04:18:47 +01:00
parent 5192eff70f
commit 65343601fe
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D
2 changed files with 6 additions and 1 deletions

View file

@ -44,6 +44,8 @@ paths:
properties: properties:
user_id: user_id:
type: string type: string
format: mx-user-id
pattern: "^@"
description: The user ID that owns the access token. description: The user ID that owns the access token.
device_id: device_id:
x-addedInMatrixVersion: "1.1" x-addedInMatrixVersion: "1.1"

View file

@ -9,7 +9,10 @@ properties:
type: object type: object
properties: properties:
base_url: base_url:
type: string anyOf:
- type: string
format: uri
- type: "null"
description: |- description: |-
The URL of the identity server the user prefers to use, or `null` The URL of the identity server the user prefers to use, or `null`
if the user does not want to use an identity server. This value is if the user does not want to use an identity server. This value is