Skip to content

x-to-zod / jsonSchemaToZod

Function: jsonSchemaToZod() ​

ts
function jsonSchemaToZod(schema, options?): string;

Defined in: src/JsonSchema/toZod.ts:8

Parameters ​

schema ​

JSONSchemaAny

options? ​

Options = {}

Returns ​

string

Released under the ISC License.