Also make room_type and allowed_room_ids optional in the openapi

They are optional according to the text, but the openapi marks them as
required instead.

Signed-off-by: Nicolas Werner <n.werner@famedly.com>
This commit is contained in:
Nicolas Werner 2022-06-07 15:37:39 +02:00
parent b71fd6d4e6
commit d60878c638
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Clarify that state keys starting with `@` are in fact reserved. Regressed from [#3658](https://github.com/matrix-org/matrix-spec-proposals/pull/3658).

View file

@ -158,7 +158,7 @@ paths:
format: int64
description: The `origin_server_ts` for the event.
required: [origin_server_ts]
required: [room_type, allowed_room_ids, children_state]
required: [children_state]
children:
type: array
description: |-