Skip to content

Commit 1782a89

Browse files
committed
Add Server Name format
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
1 parent b44804d commit 1782a89

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

data/api/client-server/content-repo.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ components:
605605
example: matrix.org
606606
schema:
607607
type: string
608+
format: mx-server-name
608609
mediaId:
609610
in: path
610611
name: mediaId

data/custom-formats.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ mx-room-id:
3737
url: /appendices#room-ids
3838
# regex: "^!"
3939

40+
mx-server-name:
41+
title: Server Name
42+
url: /appendices#server-name
43+
# no regex
44+
4045
uri:
4146
title: URI
4247
url: http://tools.ietf.org/html/rfc3986

0 commit comments

Comments
 (0)