dograh/ui/openapi-ts.config.ts
Abhishek Kumar 4f2a629340 Initial Commit 🚀 🚀
2025-09-09 14:37:32 +05:30

10 lines
285 B
TypeScript

import { defineConfig } from '@hey-api/openapi-ts';
export default defineConfig({
input: 'http://127.0.0.1:8000/api/v1/openapi.json',
output: 'src/client',
plugins: [{
name: '@hey-api/client-fetch',
runtimeConfigPath: './src/lib/apiClient.ts',
}],
});