🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

swagger-model-validator

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-model-validator - npm Package Compare versions

Comparing version

to
3.0.20

6

lib/modelValidator.js

@@ -392,3 +392,7 @@ 'use strict';

} else {
expectedType = expectedType.toLowerCase();
if (typeof expectedType === "string") {
expectedType = expectedType.toLowerCase();
} else {
return new Error("Schema property (" + name + ") has a non string 'type' field")
}
}

@@ -395,0 +399,0 @@

2

package.json
{
"name": "swagger-model-validator",
"version": "3.0.19",
"version": "3.0.20",
"description": "Validate incoming objects against Swagger Models.",

@@ -5,0 +5,0 @@ "keywords": [