zod-to-json-schema icon indicating copy to clipboard operation
zod-to-json-schema copied to clipboard

Converts Zod schemas to Json schemas

Results 24 zod-to-json-schema issues
Sort by recently updated
recently updated
newest added

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...

New target? Option? Examine current vendored implementation

enhancement

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...

V4