Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/JsonSchema/RefResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function resolve($schema, $sourceUri = null)
// These are all potentially arrays that contain schema objects
// eg. type can be a value or an array of values/schemas
// eg. items can be a schema or an array of schemas
foreach (array('disallow', 'extends', 'items', 'type') as $propertyName) {
foreach (array('disallow', 'extends', 'items', 'type', 'allOf', 'anyOf', 'oneOf') as $propertyName) {
$this->resolveArrayOfSchemas($schema, $propertyName, $sourceUri);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/JsonSchema/Tests/RefResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function resolveProvider() {
array(
'resolveRef' => 1,
'resolveProperty' => 4,
'resolveArrayOfSchemas' => 4,
'resolveArrayOfSchemas' => 7,
'resolveObjectOfSchemas' => 3
)
)
Expand Down