Skip to content

Commit

Permalink
Fixed the slash issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zepich committed Oct 9, 2022
1 parent 4563e48 commit 87aa48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Specifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static function getSpecificationResourcesPath(): string
*/
public static function getJsonSchemaPath($schema): string
{
$path = self::getSpecificationResourcesPath() . 'json-schema/' . $schema;
$path = self::getSpecificationResourcesPath() . '/json-schema/' . $schema;
if (!file_exists($path)) {
throw new Exception(sprintf('Json schema "%s" not found.', $schema));
}
Expand Down

0 comments on commit 87aa48d

Please sign in to comment.