Hacker GitHub

← All repos

asteasolutions/zod-to-openapi

View on GitHub ↗ ★ 1,635 TypeScript

A library that generates OpenAPI (Swagger) docs from Zod schemas

3 mentions on Hacker News by 2 people: 1 story, 2 comments · first 2023-10-10 · latest 2023-10-26

Mentions per year 3 mentions · busiest year 2023 (3)
20082026
  1. And if you like Zod, you might as well use this: https://github.com/asteasolutions/zod-to-openapi It converts Zod types to OpenAPI specification.
  2. …via https://ts-rest.com which uses https://www.npmjs.com/package/@anatine/zod-openapi . https://github.com/asteasolutions/zod-to-openapi is another alternative for Zod. > The big bonus of the human documentation approaches today is that…