@mintlify/validation
Advanced tools
Comparing version
@@ -23,2 +23,9 @@ import { z } from 'zod'; | ||
}>]>>; | ||
paramFields: z.ZodOptional<z.ZodObject<{ | ||
expanded: z.ZodOptional<z.ZodEnum<["all", "none"]>>; | ||
}, "strip", z.ZodTypeAny, { | ||
expanded?: "all" | "none" | undefined; | ||
}, { | ||
expanded?: "all" | "none" | undefined; | ||
}>>; | ||
playground: z.ZodOptional<z.ZodObject<{ | ||
@@ -78,2 +85,5 @@ display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>; | ||
} | undefined; | ||
paramFields?: { | ||
expanded?: "all" | "none" | undefined; | ||
} | undefined; | ||
playground?: { | ||
@@ -103,2 +113,5 @@ display?: "simple" | "none" | "interactive" | undefined; | ||
} | undefined; | ||
paramFields?: { | ||
expanded?: "all" | "none" | undefined; | ||
} | undefined; | ||
playground?: { | ||
@@ -105,0 +118,0 @@ display?: "simple" | "none" | "interactive" | undefined; |
@@ -8,2 +8,11 @@ import { z } from 'zod'; | ||
asyncapi: asyncApiSchema.optional(), | ||
paramFields: z | ||
.object({ | ||
expanded: z | ||
.enum(['all', 'none']) | ||
.optional() | ||
.describe('Whether to automatically expand API parameter fields, defaults to `none`.'), | ||
}) | ||
.optional() | ||
.describe('Configurations for the API parameters'), | ||
playground: z | ||
@@ -10,0 +19,0 @@ .object({ |
@@ -62,2 +62,9 @@ export declare const standardConfigSchema: { | ||
}>]>>; | ||
paramFields: import("zod").ZodOptional<import("zod").ZodObject<{ | ||
expanded: import("zod").ZodOptional<import("zod").ZodEnum<["all", "none"]>>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
expanded?: "all" | "none" | undefined; | ||
}, { | ||
expanded?: "all" | "none" | undefined; | ||
}>>; | ||
playground: import("zod").ZodOptional<import("zod").ZodObject<{ | ||
@@ -117,2 +124,5 @@ display: import("zod").ZodOptional<import("zod").ZodEnum<["interactive", "simple", "none"]>>; | ||
} | undefined; | ||
paramFields?: { | ||
expanded?: "all" | "none" | undefined; | ||
} | undefined; | ||
playground?: { | ||
@@ -142,2 +152,5 @@ display?: "simple" | "none" | "interactive" | undefined; | ||
} | undefined; | ||
paramFields?: { | ||
expanded?: "all" | "none" | undefined; | ||
} | undefined; | ||
playground?: { | ||
@@ -144,0 +157,0 @@ display?: "simple" | "none" | "interactive" | undefined; |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.360", | ||
"version": "0.1.361", | ||
"description": "Validates mint.json files", | ||
@@ -63,3 +63,3 @@ "author": "Mintlify, Inc.", | ||
}, | ||
"gitHead": "212bec92baf66057a5539dd6c40509f003770159" | ||
"gitHead": "4e657c2dd28d752e1470a01c8559893740b51e1f" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1584478
0.67%37150
0.81%