@mintlify/validation
Advanced tools
Comparing version 0.1.314 to 0.1.315
@@ -47,3 +47,3 @@ import lcm from 'lcm'; | ||
} | ||
if ((opts === null || opts === void 0 ? void 0 : opts.isRoot) && ((_c = schema.discriminator) === null || _c === void 0 ? void 0 : _c.mapping)) { | ||
if ((opts === null || opts === void 0 ? void 0 : opts.isRoot) && ((_c = schema.discriminator) === null || _c === void 0 ? void 0 : _c.mapping) && !schema.oneOf && !schema.allOf) { | ||
const properties = Object.values(schema.discriminator.mapping); | ||
@@ -50,0 +50,0 @@ if (properties.length) { |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.314", | ||
"version": "0.1.315", | ||
"description": "Validates mint.json files", | ||
@@ -63,3 +63,3 @@ "author": "Mintlify, Inc.", | ||
}, | ||
"gitHead": "a7533912b9588aeb0d5ac0b728b347d0015ac54c" | ||
"gitHead": "89c9fb6d90752ad5db6b1cbfe4d442a7a391e68f" | ||
} |
Sorry, the diff of this file is not supported yet
1327370