Skip to content

Commit

Permalink
Clarify formats of string types in current account information section
Browse files Browse the repository at this point in the history
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
  • Loading branch information
zecakeh committed Jan 6, 2025
1 parent 5192eff commit 6534360
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions data/api/client-server/whoami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ paths:
properties:
user_id:
type: string
format: mx-user-id
pattern: "^@"
description: The user ID that owns the access token.
device_id:
x-addedInMatrixVersion: "1.1"
Expand Down
5 changes: 4 additions & 1 deletion data/event-schemas/schema/m.identity_server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ properties:
type: object
properties:
base_url:
type: string
anyOf:
- type: string
format: uri
- type: "null"
description: |-
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
Expand Down

0 comments on commit 6534360

Please sign in to comment.