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 ebff100 commit f45837eCopy full SHA for f45837e
src/lib/ApiPlatform/SchemasProvider.php
@@ -30,7 +30,9 @@ public function getSchemas(): array
30
$filePath = $this->kernel->locateResource($fileName);
31
$schemas = Yaml::parseFile($filePath);
32
33
- $allSchemas = array_merge($allSchemas, $schemas['schemas']);
+ if (isset($schemas['schemas'])) {
34
+ $allSchemas = array_merge($allSchemas, $schemas['schemas']);
35
+ }
36
}
37
38
return $allSchemas;
0 commit comments