TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Clover – server routes augmented with Zod and OpenAPI

2 点作者 sarimabbas大约 2 年前
I worked on a library I hope might be interesting to folks :)<p>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 comment

felchang大约 2 年前
this is the best thing ever. if yalll want great technical writing, go to the explain it like im five page - <a href="https:&#x2F;&#x2F;clover.sarim.garden&#x2F;eli5" rel="nofollow">https:&#x2F;&#x2F;clover.sarim.garden&#x2F;eli5</a>