Hacker News new | ask | show | jobs
Show HN: Clover – server routes augmented with Zod and OpenAPI (clover.sarim.garden)
2 points by sarimabbas 1128 days ago
I worked on a library I hope might be interesting to folks :)

Today, adding type safe wrappers to API routes (in frameworks like Next.js) requires reaching for solutions like TRPC or Zodios. I created a lighter weight alternative called Clover. It uses Zod for input validation and generates an OpenAPI schema. It also provides a type safe client. I welcome any feedback!

1 comments

this is the best thing ever. if yalll want great technical writing, go to the explain it like im five page - https://clover.sarim.garden/eli5