@openapi-contrib/json-schema-to-openapi-schema
Advanced tools
Comparing version 2.2.5 to 2.2.6
@@ -179,2 +179,4 @@ "use strict"; | ||
const schemas = schema[key]; | ||
if (!schemas) | ||
continue; | ||
if (!Array.isArray(schemas)) { | ||
@@ -181,0 +183,0 @@ return schema; |
@@ -171,2 +171,4 @@ import { Walker } from 'json-schema-walker'; | ||
const schemas = schema[key]; | ||
if (!schemas) | ||
continue; | ||
if (!Array.isArray(schemas)) { | ||
@@ -173,0 +175,0 @@ return schema; |
{ | ||
"name": "@openapi-contrib/json-schema-to-openapi-schema", | ||
"version": "2.2.5", | ||
"version": "2.2.6", | ||
"description": "Converts a JSON Schema to OpenAPI Schema Object", | ||
@@ -5,0 +5,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
52024
844