fix validation errors

This commit is contained in:
Hubert Chathi 2019-12-16 17:25:20 -05:00
parent 59e337187b
commit 4cde800ea1

View file

@ -92,9 +92,9 @@ paths:
type: string type: string
name: version name: version
description: |- description: |-
Optional. The backup version to get. If omitted, the current backup The backup version to get. When an empty string, the trailing slash
is returned. is optional, and the current backup is returned.
required: false required: true
x-example: "1" x-example: "1"
responses: responses:
200: 200:
@ -678,12 +678,6 @@ paths:
The backup from which to retrieve the keys. If omitted, the keys are The backup from which to retrieve the keys. If omitted, the keys are
retrieved from the current backup. retrieved from the current backup.
x-example: "1" x-example: "1"
- in: path
type: string
name: roomId
description: The ID of the room that the requested key is for.
required: true
x-example: "!roomid:example.org"
responses: responses:
200: 200:
description: |- description: |-
@ -736,12 +730,6 @@ paths:
The backup from which to delete the key The backup from which to delete the key
required: true required: true
x-example: "1" x-example: "1"
- in: path
type: string
name: roomId
description: The ID of the room that the specified key is for.
required: true
x-example: "!roomid:example.org"
responses: responses:
200: 200:
description: The update succeeded description: The update succeeded