Update schema to use anyOf instead of oneOf, fixes #9295
parent
1d553a6795
commit
7fda8433b1
|
@ -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" },
|
||||
|
|
Loading…
Reference in New Issue