@mintlify/validation
Advanced tools
Comparing version 0.1.116 to 0.1.117
@@ -1,2 +0,2 @@ | ||
const MAX_DEPTH = 2; | ||
const MAX_DEPTH = 100; | ||
export const generateExampleFromSchema = (schema, depth = 0) => { | ||
@@ -32,3 +32,3 @@ if (schema.example) { | ||
case 'array': | ||
return depth < 2 | ||
return depth < MAX_DEPTH | ||
? [ | ||
@@ -35,0 +35,0 @@ generateExampleFromSchema(schema.items[0], |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.116", | ||
"version": "0.1.117", | ||
"description": "Validates mint.json files", | ||
@@ -72,3 +72,3 @@ "author": "Mintlify, Inc.", | ||
}, | ||
"gitHead": "431fd04d525465bcbe469f6fe0db30d7acd67ee2" | ||
"gitHead": "e316deba89f166b69f5c5d94c3122f6f1d54a848" | ||
} |
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
212814