mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
mark stateKey as required in room/{id}/state
Swagger insists that path params be mandatory.
This commit is contained in:
parent
d18d406c41
commit
d2bbc461e4
|
|
@ -51,15 +51,15 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
name: stateKey
|
name: stateKey
|
||||||
description: The state_key for the state to send. Defaults to the empty string.
|
description: The state_key for the state to send. Defaults to the empty string.
|
||||||
required: false
|
required: true
|
||||||
x-example: ""
|
x-example: ""
|
||||||
- in: body
|
- in: body
|
||||||
name: body
|
name: body
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
example: |
|
example: |-
|
||||||
{
|
{
|
||||||
"name": "The room name"
|
"name": "New name for the room"
|
||||||
}
|
}
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue