hapi-swagger
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -112,5 +112,9 @@ var Hoek = require('hoek'), | ||
// filters route objects into simpler more useful form | ||
internals.getRoutesData = function (routes) { | ||
var routesData = []; | ||
routes.forEach(function (route) { | ||
// only include routes tagged routes | ||
if(!route.settings.tags || route.settings.tags.indexOf('api') < 0) return; | ||
routesData.push({ | ||
@@ -117,0 +121,0 @@ path: route.path, |
{ | ||
"name": "hapi-swagger", | ||
"description": "A swagger documentation UI generator plugin for hapi", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"author": "Glenn Jones", | ||
@@ -6,0 +6,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
433277
6222