MCPcopy
hub / github.com/colinhacks/zod / to-json-schema.test.ts

File to-json-schema.test.ts

packages/zod/src/v4/classic/tests/to-json-schema.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Validator } from "@seriousme/openapi-schema-validator";
2import { describe, expect, test } from "vitest";
3import * as z from "zod";
4// import * as zCore from "zod/v4/core";

Callers

nothing calls this directly

Calls 15

validateOpenAPI30SchemaFunction · 0.85
toJSONSchemaMethod · 0.80
stringMethod · 0.80
numberMethod · 0.80
booleanMethod · 0.80
nullMethod · 0.80
undefinedMethod · 0.80
ipv4Method · 0.80
ipv6Method · 0.80
guidMethod · 0.80
bigintMethod · 0.80
symbolMethod · 0.80

Tested by

no test coverage detected