We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a6210e commit 8d7af76Copy full SHA for 8d7af76
src/JsonSchema/SchemaStorage.php
@@ -92,7 +92,7 @@ private function expandRefs(&$schema, $base = null)
92
return;
93
}
94
95
- if (property_exists($schema, 'id') && is_string($schema->id)) {
+ if (property_exists($schema, 'id') && is_string($schema->id) && $base != $schema->id) {
96
$base = $this->uriResolver->resolve($schema->id, $base);
97
98
0 commit comments