Remove unnecessary oneOfs 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:
Kévin Commaille 2023-06-23 15:31:17 +02:00 committed by GitHub
parent b79fa06cfb
commit 30845e189f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 15 deletions

View file

@ -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.