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
20082026
-
▲ 1
A library that generates OpenAPI (Swagger) docs from Zod schemasstory by Ciantic · 2023-10-26 · 0 comments
-
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.
comment by Ciantic · 2023-10-26 · in Show HN: Instant API – Build type-safe web APIs with JavaScript -
…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…
comment by t1mmen · 2023-10-10 · in Show HN: REST Alternative to GraphQL and tRPC