mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-17 19:43:43 +01:00
Fix schema for room forget call
https://spec.matrix.org/v1.16/client-server-api/#post_matrixclientv3roomsroomidforget fails to define a request body. But it is not one of the four exceptions listed in https://spec.matrix.org/v1.16/client-server-api/#api-standards which deviate from the rule that > All POST and PUT endpoints, with the exception of those listed below, require the client to supply a request body containing a (potentially empty) JSON object.
This commit is contained in:
parent
fda3be5ee3
commit
19fa1c9cbf
|
|
@ -102,6 +102,13 @@ paths:
|
||||||
example: "!au1ba7o:matrix.org"
|
example: "!au1ba7o:matrix.org"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
example: {}
|
||||||
|
required: true
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: The room has been forgotten.
|
description: The room has been forgotten.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue