Add Server Name format

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2024-05-14 14:48:37 +02:00
parent b44804d76b
commit 1782a89b15
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D
2 changed files with 6 additions and 0 deletions

View file

@ -605,6 +605,7 @@ components:
example: matrix.org
schema:
type: string
format: mx-server-name
mediaId:
in: path
name: mediaId

View file

@ -37,6 +37,11 @@ mx-room-id:
url: /appendices#room-ids
# regex: "^!"
mx-server-name:
title: Server Name
url: /appendices#server-name
# no regex
uri:
title: URI
url: http://tools.ietf.org/html/rfc3986