22 lines
508 B
TypeScript
22 lines
508 B
TypeScript
import { defaultPlugins, defineConfig } from "@hey-api/openapi-ts";
|
|
|
|
export default defineConfig({
|
|
input: "../back/combined.yaml",
|
|
output: "src/client",
|
|
plugins: [
|
|
...defaultPlugins,
|
|
{
|
|
asClass: true,
|
|
name: "@hey-api/sdk",
|
|
validator: "zod",
|
|
},
|
|
{
|
|
name: "@hey-api/client-next",
|
|
runtimeConfigPath:"./src/hey-api-config.ts",
|
|
},
|
|
{
|
|
name: "@hey-api/typescript",
|
|
},
|
|
],
|
|
});
|