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.

12 lines 419 B
import type { Schema } from '../types'; /** * Static mock value generators */ /** * Generates static TypeScript code that creates mock data without runtime dependencies * @param schema - JSON Schema * @param typeName - TypeScript type name * @returns Static mock code */ export declare function generateStaticMockCode(schema: Schema, typeName: string): string; //# sourceMappingURL=static-mock-generator.d.ts.map