export default defineConfig({
"backend-api": {
input: "./backend-openapi.yaml",
output: {
mode: "single",
client: "zod",
target: "./admin-api.generated.ts",
schemas: "schemas",
},
},
});
With this config i expect that schema/order.ts will have an zod schema based on that component schema but it is an Interface for whatever reason and not a zod schema