Skip to content

Commit

Permalink
Fixed Typo error: config name mismatched, changed 'swagger-lume' to '…
Browse files Browse the repository at this point in the history
…l5-swagger' to prevent OpenApi error (#166)
  • Loading branch information
danielebarbaro authored and DarkaOnLine committed Sep 7, 2018
1 parent 673a725 commit ac8b7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function generateDocs()
File::makeDirectory($docDir);
$excludeDirs = config('l5-swagger.paths.excludes');

if (version_compare(config('swagger-lume.swagger_version'), '3.0', '>=')) {
if (version_compare(config('l5-swagger.swagger_version'), '3.0', '>=')) {
$swagger = \OpenApi\scan($appDir, ['exclude' => $excludeDirs]);
} else {
$swagger = \Swagger\scan($appDir, ['exclude' => $excludeDirs]);
Expand Down

0 comments on commit ac8b7d1

Please sign in to comment.