sans-server-swagger
Advanced tools
Comparing version 0.3.12 to 0.3.13
@@ -157,3 +157,3 @@ /** | ||
if (errors.length > 0) return 'Response did not meet swagger requirements:\n ' + errors.join('\n '); | ||
} else if (enforcers['default']) { | ||
} else if (!enforcers.hasOwnProperty(code) && enforcers['default']) { | ||
const errors = enforcers['default'] | ||
@@ -160,0 +160,0 @@ .validate |
{ | ||
"name": "sans-server-swagger", | ||
"version": "0.3.12", | ||
"version": "0.3.13", | ||
"description": "Sans-Server middleware that uses swagger documents to define routes, validate requests, validate responses, and to produce mocks.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
168295