fork of hey-api/openapi-ts because I need some additional things
at feat/use-mutation-hooks 19 lines 387 B view raw
1import path from 'node:path'; 2 3import { defineConfig } from '@hey-api/openapi-python'; 4 5import { getInput } from './inputs'; 6import { getPreset } from './python/presets'; 7 8export default defineConfig(() => [ 9 { 10 input: getInput(), 11 logs: { 12 path: './logs', 13 }, 14 output: { 15 path: path.resolve(__dirname, '.gen', 'python'), 16 }, 17 plugins: getPreset(), 18 }, 19]);