mirror of
https://github.com/chrisbenincasa/tunarr.git
synced 2026-04-18 09:03:35 -04:00
20 lines
409 B
TypeScript
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,
|
|
},
|
|
},
|
|
],
|
|
});
|