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.

16 lines 571 B
import type { GeneratedSchemaMeta, MockStrategy } from '../types'; /** * Builder class generation */ export interface BuilderGeneratorOptions { mockStrategy: MockStrategy; } /** * Generates a builder class for an enum schema */ export declare function generateEnumBuilder(meta: GeneratedSchemaMeta, options: BuilderGeneratorOptions): string; /** * Generates a builder class for an object schema */ export declare function generateObjectBuilder(meta: GeneratedSchemaMeta, options: BuilderGeneratorOptions): string; //# sourceMappingURL=builder-generator.d.ts.map