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.
19 lines (15 loc) • 470 B
text/typescript
import {definePluginConfig} from "@hey-api/openapi-ts";
import type {BuildersPlugin} from "./types";
import { handler } from "./plugin";
export const defaultConfig: BuildersPlugin['Config'] = {
config: {},
dependencies: ['@hey-api/schemas', '@hey-api/typescript'],
handler,
name: 'hey-api-builders',
output: 'builders',
exportFromIndex: true
};
export const defineConfig = definePluginConfig(
defaultConfig
);
export default defineConfig;