From 96d7eed1c6b1a74870bc505c09e5c99fa0575efd Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 3 May 2018 23:19:16 +0900 Subject: [PATCH 1/2] joining.yaml: add missing response schema details --- api/client-server/joining.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/client-server/joining.yaml b/api/client-server/joining.yaml index 7dc1e0a4..1bd7224f 100644 --- a/api/client-server/joining.yaml +++ b/api/client-server/joining.yaml @@ -101,6 +101,11 @@ paths: "room_id": "!d41d8cd:matrix.org"} schema: type: object + properties: + room_id: + type: string + description: The joined room id + required: ["room_id"] 403: description: |- You do not have permission to join the room. A meaningful ``errcode`` and description error text will be returned. Example reasons for rejection are: @@ -208,6 +213,11 @@ paths: "room_id": "!d41d8cd:matrix.org"} schema: type: object + properties: + room_id: + type: string + description: The joined room id + required: ["room_id"] 403: description: |- You do not have permission to join the room. A meaningful ``errcode`` and description error text will be returned. Example reasons for rejection are: From 6782b6399fc3ae70ef5c23c68703e73467409e5b Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 23 Nov 2018 17:54:00 +0900 Subject: [PATCH 2/2] Update according to the comments --- api/client-server/joining.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/client-server/joining.yaml b/api/client-server/joining.yaml index 1bd7224f..1dcf769f 100644 --- a/api/client-server/joining.yaml +++ b/api/client-server/joining.yaml @@ -104,7 +104,7 @@ paths: properties: room_id: type: string - description: The joined room id + description: The joined room ID. required: ["room_id"] 403: description: |- @@ -216,7 +216,7 @@ paths: properties: room_id: type: string - description: The joined room id + description: The joined room ID. required: ["room_id"] 403: description: |-