Add some extra minimums and maximums in the schema
@@ -269,21 +269,26 @@ definitions:
description: >
Delay in ms between retries.
default: 100
+ minimum: 1
timeout:
type: number
description: >
Timeout in ms.
default: 1000
+ minimum: 1
code:
type: number
description: >
Expected status code.
default: 200
+ minimum: 1
+ maximum: 599
count:
type: number
description: >
Number of requests to make.
default: 1
+ minimum: 1
endpoint:
type: string
description: >
@@ -372,6 +377,7 @@ definitions:
ratio:
type: number
minimum: 0
+ maximum: 1
required:
- randomSample
@@ -535,6 +541,7 @@ definitions:
properties:
seconds:
type: number
+ minimum: 0
required:
- seconds
required:
