fork of hey-api/openapi-ts because I need some additional things
at feat/skip-token 28 lines 609 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-angular', 15 '@hey-api/schemas', 16 { 17 name: '@hey-api/sdk', 18 operations: { 19 containerName: '{{name}}Service', 20 strategy: 'byTags', 21 }, 22 }, 23 { 24 enums: 'javascript', 25 name: '@hey-api/typescript', 26 }, 27 ], 28});