Swaggervel icon indicating copy to clipboard operation
Swaggervel copied to clipboard

routes.php - $appDir - Array

Open lo3ty opened this issue 8 years ago • 0 comments

Hi there,

I really appreciate your work on this package but I do have a suggestion.

Please change Line 21 in the routes.php File to $appDir = Config::get('swaggervel.app-dir');

Why? Because you often find yourself developing php packages which contain swagger annotations. the swagger-php package can handle an array in this variable per default. And with this modification one can simply use an array of DIRs / files in swaggervel.php config file.

ty Lo3ty

lo3ty avatar Sep 30 '16 12:09 lo3ty