Mark the appservice ping response duration_ms field as required

As intended in MSC2659.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2023-05-24 21:45:40 +02:00
parent db0fd30744
commit 94d1735b6e
No known key found for this signature in database
GPG key ID: 29A48C1F03620416

View file

@ -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: