openapi-typescript-validator
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -75,4 +75,2 @@ "use strict"; | ||
var schemaType = (_a = schema.definitions[name]) === null || _a === void 0 ? void 0 : _a.type; | ||
if (schemaType !== "object" && schemaType !== "array") | ||
return false; | ||
return !decoderWhitelistById || decoderWhitelistById[name]; | ||
@@ -79,0 +77,0 @@ }); |
{ | ||
"name": "openapi-typescript-validator", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Generate typescript with ajv validation based on openapi schemas", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
68317
828
1