Files
tunarr/web/openapi-ts.config.ts
2025-08-20 16:32:27 -04:00

20 lines
409 B
TypeScript

import { defineConfig } from '@hey-api/openapi-ts';
export default defineConfig({
// input: 'http://localhost:8000/openapi.json',
input: '../tunarr-openapi.json',
output: 'src/generated',
plugins: [
{
name: '@hey-api/client-axios',
runtimeConfigPath: './src/client.ts',
},
{
name: '@tanstack/react-query',
queryKeys: {
tags: true,
},
},
],
});