Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

openapi-ts.config.ts

10 lines420 Bytes

1import { defineConfig } from '@hey-api/openapi-ts'
2​
3// Generation input is the emitted spec at the repo root (bun run
4// openapi:emit). Output is committed; CI fails when it drifts from the spec
5// (bun run check:client).
6export default defineConfig({
7 input: '../../openapi.json',
8 output: { path: 'src/generated', format: 'prettier' },
9 plugins: ['@hey-api/client-fetch', '@hey-api/typescript', '@hey-api/sdk'],
10})