$schemaPaths =
[$this->schemaPath
];
if (!
empty($bundleName)) { $schemaPaths =
$this->bundleSchemaPathCollection->
getSchemaPaths($api,
$bundleName);
} else { $schemaPaths =
array_merge($schemaPaths,
$this->bundleSchemaPathCollection->
getSchemaPaths($api,
$bundleName));
} $loader =
new OpenApiFileLoader($schemaPaths);
/** @var OpenApiSpec $finalSpecs */
$finalSpecs =
array_replace_recursive($data,
$loader->
loadOpenapiSpecification());
return $finalSpecs;
} /**
* @param array<string, EntityDefinition>|list<EntityDefinition&SalesChannelDefinitionInterface> $definitions
*
* @return array<string, array{name: string, translatable: array<int|string, mixed>, properties: array<string, mixed>}>
*/
public function getSchema(array
$definitions): array
{