key_backup.yaml: make body parameters required
Along the same lines as c72d3051
.
This commit is contained in:
parent
8e7c0dfb93
commit
d3b41941aa
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,7 @@ paths:
|
||||||
- in: body
|
- in: body
|
||||||
name: version
|
name: version
|
||||||
description: "The backup configuration."
|
description: "The backup configuration."
|
||||||
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -257,6 +258,7 @@ paths:
|
||||||
- in: body
|
- in: body
|
||||||
name: version
|
name: version
|
||||||
description: "The backup configuration"
|
description: "The backup configuration"
|
||||||
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -398,6 +400,7 @@ paths:
|
||||||
- in: body
|
- in: body
|
||||||
name: data
|
name: data
|
||||||
description: "The key data."
|
description: "The key data."
|
||||||
|
required: true
|
||||||
schema:
|
schema:
|
||||||
"$ref": "definitions/key_backup_data.yaml"
|
"$ref": "definitions/key_backup_data.yaml"
|
||||||
responses:
|
responses:
|
||||||
|
@ -568,6 +571,7 @@ paths:
|
||||||
- in: body
|
- in: body
|
||||||
description: "The backup data"
|
description: "The backup data"
|
||||||
name: backupData
|
name: backupData
|
||||||
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -763,6 +767,7 @@ paths:
|
||||||
- in: body
|
- in: body
|
||||||
description: "The backup data"
|
description: "The backup data"
|
||||||
name: backupData
|
name: backupData
|
||||||
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue