Skip to content

Commit

Permalink
Merge pull request #18 from tomcastleman/patch-1
Browse files Browse the repository at this point in the history
Fixes excluded directories
  • Loading branch information
DarkaOnLine committed Apr 4, 2016
2 parents 84de9a6 + 77e1e8d commit 64b715a
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 @@ -18,7 +18,7 @@ public static function generateDocs()
}
File::makeDirectory($docDir);
$excludeDirs = config('l5-swagger.paths.excludes');
$swagger = \Swagger\scan($appDir, $excludeDirs);
$swagger = \Swagger\scan($appDir, ['exclude' => $excludeDirs]);

$filename = $docDir.'/api-docs.json';
$swagger->saveAs($filename);
Expand Down

0 comments on commit 64b715a

Please sign in to comment.