Skip to content

Commit 31cd843

Browse files
committed
distinct external schema object names
1 parent 0f065b3 commit 31cd843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/SchemaDefinition/SchemaDefinitionDictionary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ protected function parseExternalFile(
173173
}
174174

175175
// set up a dummy schema to fetch the definitions from the external file
176-
$schema = new Schema('ExternalSchema', '', new self(dirname($jsonSchemaFilePath)));
176+
$schema = new Schema('ExternalSchema_' . uniqid(), '', new self(dirname($jsonSchemaFilePath)));
177177
$schema->getSchemaDictionary()->setUpDefinitionDictionary($jsonSchema, $schemaProcessor, $schema);
178178
$this->parsedExternalFileSchemas[$jsonSchemaFile] = $schema;
179179

0 commit comments

Comments
 (0)