fork of hey-api/openapi-ts because I need some additional things
at feat/skip-token 24 lines 522 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 { 15 name: '@hey-api/client-next', 16 runtimeConfigPath: '../hey-api', 17 }, 18 '@hey-api/sdk', 19 { 20 enums: 'javascript', 21 name: '@hey-api/typescript', 22 }, 23 ], 24});