Sith/openapi-ts.config.ts

11 lines
447 B
TypeScript
Raw Normal View History

// biome-ignore lint/correctness/noNodejsModules: this only used at compile time
2024-10-10 13:42:11 +00:00
import { resolve } from "node:path";
import { defineConfig } from "@hey-api/openapi-ts";
// biome-ignore lint/style/noDefaultExport: needed for openapi-ts
export default defineConfig({
client: "@hey-api/client-fetch",
2024-10-10 13:42:11 +00:00
input: resolve(__dirname, "./staticfiles/generated/openapi/schema.json"),
output: resolve(__dirname, "./staticfiles/generated/openapi"),
});