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
|
||||
name: stateKey
|
||||
description: The state_key for the state to send. Defaults to the empty string.
|
||||
required: false
|
||||
required: true
|
||||
x-example: ""
|
||||
- in: body
|
||||
name: body
|
||||
schema:
|
||||
type: object
|
||||
example: |
|
||||
example: |-
|
||||
{
|
||||
"name": "The room name"
|
||||
"name": "New name for the room"
|
||||
}
|
||||
responses:
|
||||
200:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue