From 48043c649845c6b0769ca45c194057ae28ad1aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 5 Mar 2024 16:44:57 +0100 Subject: [PATCH] Clarify that extra fields of space hierarchy children are not required MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no `children_state` field, the `room_type` is only set for spaces and the description of `allowed_room_ids` says that the field can be omitted. Signed-off-by: Kévin Commaille --- data/api/server-server/space_hierarchy.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/data/api/server-server/space_hierarchy.yaml b/data/api/server-server/space_hierarchy.yaml index aa98158f..5592f644 100644 --- a/data/api/server-server/space_hierarchy.yaml +++ b/data/api/server-server/space_hierarchy.yaml @@ -119,10 +119,6 @@ paths: description: |- If the room is a [restricted room](#restricted-rooms), these are the room IDs which are specified by the join rules. Empty or omitted otherwise. - required: - - room_type - - allowed_room_ids - - children_state inaccessible_children: type: array items: