fork of hey-api/openapi-ts because I need some additional things
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 '@hey-api/client-axios',
13 '@hey-api/schemas',
14 '@hey-api/sdk',
15 {
16 enums: 'javascript',
17 name: '@hey-api/typescript',
18 },
19 ],
20});