(schema: Record<string, z.ZodType<any>>)
| 2 | |
| 3 | // biome-ignore lint/suspicious/noExplicitAny: <explanation> |
| 4 | export const zodToJsonSchema = (schema: Record<string, z.ZodType<any>>) => { |
| 5 | return z.object(schema).toJSONSchema({ |
| 6 | io: "input", |
| 7 | target: "draft-07", |
| 8 | }); |
| 9 | }; |
no outgoing calls
no test coverage detected