diff --git a/api/client-server/list_public_rooms.yaml b/api/client-server/list_public_rooms.yaml index d5826d69..5982e7fd 100644 --- a/api/client-server/list_public_rooms.yaml +++ b/api/client-server/list_public_rooms.yaml @@ -67,7 +67,11 @@ paths: items: type: object title: "PublicRoomsChunk" - required: ["room_id"] + required: + - room_id + - num_joined_users + - world_readable + - guest_can_join properties: aliases: type: array @@ -78,11 +82,11 @@ paths: canonical_alias: type: string description: |- - The canonical alias of the room, if any. May be null. + The canonical alias of the room, if any. name: type: string description: |- - The name of the room, if any. May be null. + The name of the room, if any. num_joined_members: type: number description: |- @@ -94,7 +98,7 @@ paths: topic: type: string description: |- - The topic of the room, if any. May be null. + The topic of the room, if any. world_readable: type: boolean description: |-