fork of hey-api/openapi-ts because I need some additional things
at feat/skip-token 26 lines 559 B view raw
1import { defineConfig } from '@hey-api/openapi-ts'; 2 3export default defineConfig({ 4 input: 5 'https://raw.githubusercontent.com/swagger-api/swagger-petstore/master/src/main/resources/openapi.yaml', 6 logs: { 7 path: './logs', 8 }, 9 output: { 10 path: './src/client', 11 postProcess: ['oxfmt', 'eslint'], 12 }, 13 plugins: [ 14 '@hey-api/client-fetch', 15 '@hey-api/schemas', 16 { 17 instance: true, 18 name: '@hey-api/sdk', 19 }, 20 { 21 enums: 'javascript', 22 name: '@hey-api/typescript', 23 }, 24 '@tanstack/react-query', 25 ], 26});