UNPKG

hey-api-builders

Version:

A custom plugin for @hey-api/openapi-ts that generates mock data builders with a lightweight custom runtime, Zod integration, or static mock generation.

10 lines 398 B
import type { Schema } from '../types'; import type { ZodGeneratorOptions } from '../types'; /** * Generates a Zod schema string from a JSON schema * @param schema - JSON Schema * @param options - Generator options * @returns Zod schema code */ export declare function generateZodSchema(schema: Schema, options?: ZodGeneratorOptions): string; //# sourceMappingURL=zod-schema-generator.d.ts.map