volos-swagger
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -29,3 +29,3 @@ 'use strict'; | ||
return function(req, res, next) { | ||
var mwFunction = function(req, res, next) { | ||
if (debug.enabled) { debug('handle req: ' + req.path); } | ||
@@ -41,2 +41,6 @@ if (!(req.swagger && req.swagger.operation)) { return next(); } | ||
}; | ||
mwFunction.resources = resourcesMap; // backward compatible and exposes the resourceMap to clients | ||
return mwFunction; | ||
} | ||
@@ -43,0 +47,0 @@ |
{ | ||
"name": "volos-swagger", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Middleware for bridging swagger (via swagger-tools) and volos", |
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
33365
881