feat: simple impl
This commit is contained in:
21
openapi-ts.config.ts
Normal file
21
openapi-ts.config.ts
Normal file
@ -0,0 +1,21 @@
|
||||
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",
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user