fork of hey-api/openapi-ts because I need some additional things
at main 22 lines 493 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 output: { 7 format: 'prettier', 8 lint: 'eslint', 9 path: './src/client', 10 }, 11 plugins: [ 12 { 13 name: '@hey-api/client-next', 14 runtimeConfigPath: '../hey-api', 15 }, 16 '@hey-api/sdk', 17 { 18 enums: 'javascript', 19 name: '@hey-api/typescript', 20 }, 21 ], 22});