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:
Lukas Lihotzki 2021-08-09 08:54:34 +02:00 committed by Richard van der Hoff
parent cdcc24af11
commit 91b232df48
12 changed files with 18 additions and 1 deletions

View file

@ -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
}
}

View file

@ -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

View file

@ -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:

View file

@ -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: