From a66a744c451711c4f760c399ba4101b9de3af9af Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 30 Sep 2016 14:28:40 +0100 Subject: [PATCH] Fix typo. Change responses in both places --- api/client-server/list_public_rooms.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/api/client-server/list_public_rooms.yaml b/api/client-server/list_public_rooms.yaml index 5982e7fd..c65da9c7 100644 --- a/api/client-server/list_public_rooms.yaml +++ b/api/client-server/list_public_rooms.yaml @@ -69,7 +69,7 @@ paths: title: "PublicRoomsChunk" required: - room_id - - num_joined_users + - num_joined_members - world_readable - guest_can_join properties: @@ -213,7 +213,11 @@ paths: items: type: object title: "PublicRoomsChunk" - required: ["room_id"] + required: + - room_id + - num_joined_members + - world_readable + - guest_can_join properties: aliases: type: array @@ -224,11 +228,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: |- @@ -240,7 +244,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: |-