mark stateKey as required in room/{id}/state

Swagger insists that path params be mandatory.
This commit is contained in:
Richard van der Hoff 2015-10-23 13:25:12 +01:00
parent d18d406c41
commit d2bbc461e4

View file

@ -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: