Apply suggestion for error description

Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Kévin Commaille 2022-10-02 10:43:13 +02:00 committed by GitHub
parent 78f2764133
commit f32b0d0e79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,9 +100,11 @@ paths:
"$ref": "definitions/errors/rate_limited.yaml"
400:
description: |-
The `thread_id` is not a string, or is empty, or it is provided for
a receipt of type `m.fully_read`, or the `event_id` is not related
to the `thread_id`.
The `thread_id` is invalid in some way. For example:
* It is not a string.
* It is empty.
* It is provided for an incompatible receipt type.
* The `event_id` is not related to the `thread_id`.
schema:
$ref: "definitions/errors/error.yaml"
examples: