Remove unnecessary oneOf
s in JSON schemas (#1585)
* Remove unnecessary `oneOf`s in JSON schemas Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add changelog Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> --------- Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
b79fa06cfb
commit
30845e189f
4 changed files with 6 additions and 15 deletions
|
@ -17,9 +17,7 @@ type: object
|
|||
properties:
|
||||
actions:
|
||||
items:
|
||||
oneOf:
|
||||
- type: object
|
||||
- type: string
|
||||
type: ["string", "object"]
|
||||
type: array
|
||||
description: |-
|
||||
The actions to perform when this rule is matched.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue