swagger-schema
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"name": "swagger-schema", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Swagger schema helpers", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -156,2 +156,7 @@ 'use strict'; | ||
if (!schema) return; | ||
if (paramType === 'body') { | ||
schema.properties.body = schema.properties.body.properties.body; | ||
} | ||
if (!root.required.length) delete root.required; | ||
@@ -158,0 +163,0 @@ |
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
NPM Shrinkwrap
Supply chain riskPackage contains a shrinkwrap file. This may allow the package to bypass normal install procedures.
Found 1 instance in 1 package
0
20074
6
15
708