From 94d1735b6e442c7bd701e2805f2e6f6d1451fdd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Wed, 24 May 2023 21:45:40 +0200 Subject: [PATCH] Mark the appservice ping response duration_ms field as required MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As intended in MSC2659. Signed-off-by: Kévin Commaille --- data/api/client-server/appservice_ping.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/api/client-server/appservice_ping.yaml b/data/api/client-server/appservice_ping.yaml index 4075e901..13b7289f 100644 --- a/data/api/client-server/appservice_ping.yaml +++ b/data/api/client-server/appservice_ping.yaml @@ -82,6 +82,8 @@ paths: The duration in milliseconds that the [`/_matrix/app/v1/ping`](#post_matrixappv1ping) request took from the homeserver's point of view. + required: + - duration_ms examples: application/json: {"duration_ms": 123} 400: