Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes the case when you pass a bunch of controller files but only some of them contain jsdoc annotations. eg: app.use(swagger.init(app, { apiVersion: '1.0', ..., apis: fs.readdirSync('./controllers').map(function (filename) { return path.join(controllersPath, filename); }), ... }));
- Loading branch information