From 7fda8433b1d483372c31a131eea3b546b1a869f8 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 16 Oct 2020 11:27:50 +0200 Subject: [PATCH] Update schema to use anyOf instead of oneOf, fixes #9295 --- res/composer-schema.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/composer-schema.json b/res/composer-schema.json index bcb712882..84fb8c6c7 100644 --- a/res/composer-schema.json +++ b/res/composer-schema.json @@ -364,13 +364,13 @@ "type": ["object", "array"], "description": "A set of additional repositories where packages can be found.", "additionalProperties": { - "oneOf": [ + "anyOf": [ { "$ref": "#/definitions/repository" }, { "type": "boolean", "enum": [false] } ] }, "items": { - "oneOf": [ + "anyOf": [ { "$ref": "#/definitions/repository" }, { "type": "object", @@ -635,7 +635,7 @@ }, "repository": { "type": "object", - "oneOf": [ + "anyOf": [ { "$ref": "#/definitions/composer-repository" }, { "$ref": "#/definitions/vcs-repository" }, { "$ref": "#/definitions/path-repository" },