StefanTerdell/zod-to-json-schema
View on GitHub ↗ ★ 1,248 TypeScript archived
Converts Zod schemas to Json schemas
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2023-01-31 · latest 2023-08-22
20082026
-
I like to use zod for Typescript and Pydantic for python. https://github.com/StefanTerdell/zod-to-json-schema https://docs.pydantic.dev/latest/usage/json_schema/
comment by beanaroo · 2023-08-22 · in JSON Schema Store -
…JSON Schema to e.g. communicate to the outside world, you can extract it from the Zod schema with https://github.com/StefanTerdell/zod-to-json-schema -- but if you don't, you don't. JSON Schema is kind of underpowered for real validation,…
comment by yencabulator · 2023-02-01 · in Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees -
…typing of request handlers. [1] https://github.com/SocialGouv/e2esdk/blob/beta/packages/serv... [2] https://github.com/StefanTerdell/zod-to-json-schema
comment by franky47 · 2023-01-31 · in Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees