Skip to content

Commit 4c3e930

Browse files
authored
Merge pull request #68 from boesing/bugfix/ci-configuration-json-schema-anyof
Use `anyOf` over `oneOf` when comparing JSON schema of `.laminas-ci.schema.json`
2 parents 2bf7850 + e3f14e5 commit 4c3e930

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

laminas-ci.schema.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@
6565
],
6666
"title": "Laminas CI configuration schema",
6767
"type": "object",
68-
"oneOf": [
68+
"anyOf": [
6969
{
70+
"description": "Checks cannot be used in combination with additional checks",
7071
"properties": {
7172
"extensions": {
7273
"$ref": "#/definitions/extensions"
@@ -165,6 +166,7 @@
165166
"additionalProperties": false
166167
},
167168
{
169+
"description": "Additional checks cannot be used in combination with checks",
168170
"properties": {
169171
"extensions": {
170172
"$ref": "#/definitions/extensions"

0 commit comments

Comments
 (0)