Skip to content

Commit

Permalink
Merge pull request #21 from PcComponentes/feature/load-references-fro…
Browse files Browse the repository at this point in the history
…m-files-recursively

feat: Load references from files recursively
  • Loading branch information
zoilomora authored Mar 21, 2023
2 parents bb54770 + c9ca6d8 commit 064ae7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Behat/ValidatorApiContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ protected function getDataExternalReferences(array $allSpec, string $originalPat

$this->checkSchemaFile($newPath);
$data = Yaml::parse(\file_get_contents($newPath));
$data = $this->getDataExternalReferences($data, $newPath);

$dataExternalReferences[$pathExternalReference] = $data;
}

Expand Down

0 comments on commit 064ae7f

Please sign in to comment.