Something went wrong. Try again.
fork of hey-api/openapi-ts because I need some additional things
Something went wrong. Try again.
123456789101112131415161718192021222324252627import { defineConfig } from '@hey-api/openapi-ts';
export default defineConfig({ input: 'https://raw.githubusercontent.com/swagger-api/swagger-petstore/master/src/main/resources/openapi.yaml', logs: { path: './logs', }, output: { path: './src/client', postProcess: ['oxfmt', 'eslint'], }, plugins: [ '@hey-api/client-fetch', '@hey-api/schemas', { instance: true, name: '@hey-api/sdk', }, { enums: 'javascript', name: '@hey-api/typescript', }, '@tanstack/react-query', ],});