OpenAPI: use uri format
In avatar_url, pusher url, wellknown base_url, getUrlPreview, and submit_url. Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
This commit is contained in:
parent
cdcc24af11
commit
91b232df48
12 changed files with 18 additions and 1 deletions
|
@ -68,6 +68,7 @@ properties:
|
|||
rules like any other user.
|
||||
avatar_url:
|
||||
type: string
|
||||
format: uri
|
||||
description: The URL for the room's avatar, if one is set.
|
||||
join_rule:
|
||||
type: string
|
||||
|
@ -110,4 +111,4 @@ example: {
|
|||
"next_batch": "p190q",
|
||||
"prev_batch": "p1902",
|
||||
"total_room_count_estimate": 115
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@ properties:
|
|||
example: "123abc"
|
||||
submit_url:
|
||||
type: string
|
||||
format: uri
|
||||
description: |-
|
||||
An optional field containing a URL where the client must submit the
|
||||
validation token to, with identical parameters to the Identity Service
|
||||
|
|
|
@ -18,6 +18,7 @@ type: object
|
|||
properties:
|
||||
base_url:
|
||||
type: string
|
||||
format: uri
|
||||
description: The base URL for the homeserver for client-server connections.
|
||||
example: https://matrix.example.com
|
||||
required:
|
||||
|
|
|
@ -18,6 +18,7 @@ type: object
|
|||
properties:
|
||||
base_url:
|
||||
type: string
|
||||
format: uri
|
||||
description: The base URL for the identity server for client-server connections.
|
||||
example: https://identity.example.com
|
||||
required:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue