mark stateKey as required in room/{id}/state
Swagger insists that path params be mandatory.
This commit is contained in:
parent
d18d406c41
commit
d2bbc461e4
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue