@mintlify/validation
Advanced tools
Comparing version 0.1.195 to 0.1.196
@@ -170,2 +170,3 @@ import lcm from 'lcm'; | ||
copyKeyIfDefined('default', curr, acc); | ||
copyKeyIfDefined('const', curr, acc); | ||
combineKeyIfDefined('multipleOf', curr, acc, lcm); | ||
@@ -315,2 +316,3 @@ combineKeyIfDefined('maxLength', curr, acc, Math.min); | ||
copyKeyIfDefined('default', schema, stringProps); | ||
copyKeyIfDefined('const', schema, stringProps); | ||
copyExampleIfDefined(schema, stringProps); | ||
@@ -317,0 +319,0 @@ return Object.assign({ type: schema.type }, stringProps); |
@@ -397,2 +397,3 @@ import lcm from 'lcm'; | ||
copyKeyIfDefined('default', schema, stringProps); | ||
copyKeyIfDefined('const', schema, stringProps); | ||
copyExampleIfDefined(schema, stringProps); | ||
@@ -399,0 +400,0 @@ return Object.assign({ type: schema.type }, stringProps); |
@@ -115,2 +115,3 @@ import { OpenAPIV3_1 } from 'openapi-types'; | ||
minLength?: number; | ||
const?: string; | ||
} & BaseSchema<string>; | ||
@@ -117,0 +118,0 @@ export type NumberSchema = { |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.195", | ||
"version": "0.1.196", | ||
"description": "Validates mint.json files", | ||
@@ -71,3 +71,3 @@ "author": "Mintlify, Inc.", | ||
}, | ||
"gitHead": "717ac01ddd0d96af279d93047da262fd0f5872d0" | ||
"gitHead": "79216c76b14207b42057e21238140a3f2da59b56" | ||
} |
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
264727
5049