From a114f21cbe62c67380cfc037b97ea9e40d6f6220 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 14 Aug 2024 16:29:11 +0300 Subject: [PATCH] Fix required fields in `/_matrix/key/v2/server` response schema Fixes #613 Signed-off-by: Tulir Asokan --- changelogs/server_server/newsfragments/1930.clarification | 1 + data/api/server-server/definitions/keys.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/server_server/newsfragments/1930.clarification diff --git a/changelogs/server_server/newsfragments/1930.clarification b/changelogs/server_server/newsfragments/1930.clarification new file mode 100644 index 000000000..facff83cf --- /dev/null +++ b/changelogs/server_server/newsfragments/1930.clarification @@ -0,0 +1 @@ +Fix required fields in `/_matrix/key/v2/server` response schema. diff --git a/data/api/server-server/definitions/keys.yaml b/data/api/server-server/definitions/keys.yaml index efb76f264..748debd89 100644 --- a/data/api/server-server/definitions/keys.yaml +++ b/data/api/server-server/definitions/keys.yaml @@ -98,4 +98,4 @@ properties: publishes a key which is valid for a significant amount of time without a way for the homeserver owner to revoke it. example: 1052262000000 -required: ["server_name", "verify_keys"] +required: ["server_name", "verify_keys", "signatures", "valid_until_ts"]