Merge pull request #1729 from QMatrixClient/kitsune/filling-spec-gaps

joining.yaml: add missing response schema details
This commit is contained in:
Travis Ralston 2018-11-25 20:11:59 -07:00 committed by GitHub
commit 6dd2120337
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: