zod-to-json-schema
zod-to-json-schema copied to clipboard
Converts Zod schemas to Json schemas
I'm not sure if this is a duplicate or a known issue, so apologies if it is! ## Zod Schema ```ts const mySchema = z .object({ object: z.object({ one: z.string(),...
Hello! I just started using [trpc-openapi](https://github.com/jlalmes/trpc-openapi) which uses this package. I observed an error with array definitions: ``` backend:dev: Recursive reference detected at #/properties/description/anyOf/4/additionalProperties/anyOf/1! Defaulting to any backend:dev: Recursive reference...
Error in typescript lint. the `definitions` field is imcompatible. Is there any plan to support @types/json-schema in type ? ``` import type { JSONSchema7 } from "json-schema" import { zodToJsonSchema...