Fix description of 'knock_room_state' which implied the field was optional

This commit is contained in:
Andrew Morgan 2022-10-06 17:34:28 +01:00
parent c4505665e0
commit 9431d7b41e

View file

@ -287,7 +287,7 @@ paths:
items:
$ref: "../../event-schemas/schema/core-event-schema/stripped_state.yaml"
description: |-
An optional list of [stripped state events](/client-server-api/#stripped-state)
A list of [stripped state events](/client-server-api/#stripped-state)
to help the initiator of the knock identify the room.
example:
$ref: "../../event-schemas/examples/knock_room_state.json"