Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ Validator } from
"@seriousme/openapi-schema-validator"
;
2
import
{ describe, expect, test } from
"vitest"
;
3
import
* as z from
"zod"
;
4
// import * as zCore from "zod/v4/core";
Callers
nothing calls this directly
Calls
15
validateOpenAPI30Schema
Function · 0.85
toJSONSchema
Method · 0.80
string
Method · 0.80
number
Method · 0.80
boolean
Method · 0.80
null
Method · 0.80
undefined
Method · 0.80
ipv4
Method · 0.80
ipv6
Method · 0.80
guid
Method · 0.80
bigint
Method · 0.80
symbol
Method · 0.80
Tested by
no test coverage detected