room_type is not a required parameter in practice (#1110)
* room_type is not a required parameter in practice In practice servers seem to mirror what the room create event does and leave out the room_type when unset. Signed-off-by: Nicolas Werner <n.werner@famedly.com> * Add changelog Signed-off-by: Nicolas Werner <n.werner@famedly.com> * Also make room_type and allowed_room_ids optional in the openapi They are optional according to the text, but the openapi marks them as required instead. Signed-off-by: Nicolas Werner <n.werner@famedly.com> * Fix copy and paste error of newsfragment Signed-off-by: Nicolas Werner <n.werner@famedly.com>
This commit is contained in:
parent
8d82366cf2
commit
e70045f4cc
4 changed files with 4 additions and 2 deletions
|
@ -0,0 +1 @@
|
||||||
|
Fix various typos throughout the specification.
|
|
@ -0,0 +1 @@
|
||||||
|
Fix various typos throughout the specification.
|
|
@ -149,7 +149,7 @@ paths:
|
||||||
format: int64
|
format: int64
|
||||||
description: The `origin_server_ts` for the event.
|
description: The `origin_server_ts` for the event.
|
||||||
required: [origin_server_ts]
|
required: [origin_server_ts]
|
||||||
required: [room_type, children_state]
|
required: [children_state]
|
||||||
next_batch:
|
next_batch:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
@ -158,7 +158,7 @@ paths:
|
||||||
format: int64
|
format: int64
|
||||||
description: The `origin_server_ts` for the event.
|
description: The `origin_server_ts` for the event.
|
||||||
required: [origin_server_ts]
|
required: [origin_server_ts]
|
||||||
required: [room_type, allowed_room_ids, children_state]
|
required: [children_state]
|
||||||
children:
|
children:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue