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