Requires unique values in the parameters lists.
| Arazzo | Compatibility |
|---|---|
| 1.x | ✅ |
A list of parameters that are applicable to a step or all the steps described in a workflow must not contain duplicates. If duplicates are present, unexpected parameter overrides could cause problems.
This ruled checks parameter lists in the following locations:
workflows.[workflow].parametersworkflows.[workflow].steps.[step].parametersx-parameters
| Option | Type | Description |
|---|---|---|
| severity | string | Possible values: off, warn, error. Default off. |
An example configuration:
rules:
parameters-unique: errorGiven the following configuration:
rules:
parameters-unique: errorExample of a correct parameters list:
workflows:
- workflowId: get-museum-hours
parameters:
- in: header
name: Authorization
value: Basic Og==
- in: header
name: X-Forwarded-For
value: 1.2.3.4