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 example: matrix.org
schema: schema:
type: string type: string
format: mx-server-name
mediaId: mediaId:
in: path in: path
name: mediaId name: mediaId

View file

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