mirror of
https://github.com/nicotsx/zerobyte.git
synced 2025-12-23 21:47:47 -05:00
12 lines
369 B
TypeScript
12 lines
369 B
TypeScript
import { defaultPlugins, defineConfig } from "@hey-api/openapi-ts";
|
|
import { config } from "./app/server/core/config.js";
|
|
|
|
export default defineConfig({
|
|
input: `http://${config.serverIp}:4096/api/v1/openapi.json`,
|
|
output: {
|
|
path: "./app/client/api-client",
|
|
format: "biome",
|
|
},
|
|
plugins: [...defaultPlugins, "@tanstack/react-query", "@hey-api/client-fetch"],
|
|
});
|