Skip to main content

CurateClick

github.com favicon

api-typing

一个基于axios的强类型提示HTTP客户端,旨在解决前端接口对接中的常见问题,如字段拼写错误和接口变更未通知等,通过OpenAPI协议自动生成TypeScript类型提示。

Check out api-typing on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

接口的对接在前端的工作中占据了很大一部分时间,我们在接口对接时经常会遇到以下这些情况:1. 不小心写错了接口字段( url 拼写错误,入参,回参错误)。2. 后端接口变更了(可能是 url,入参,或者回参),但是没有通知到前端。这些错误可能不会立即被暴露出来,直到测试时才会被发现,但是如果项目已经有了完善的 swagger 文档或者其他基于 openapi 协议的文档的话,那么就完全可以在编写接口的时候将这些错误排除掉。那么完成整个逻辑的链条就是 openapi > typescript > 全自动的类型提示。如果你觉得工作中有这些痛点的话,欢迎参与这个项目贡献代码 🌟项目仓库:api-typing

Latest Weekly Picks

Predict video virality before you publish.

Virality Predictor

Powerful Motion Control AI Video Generator

Motion Control AI

PlusGO 是面向中国大陆用户的 ChatGPT Plus 代充值服务平台。使用官方 CDKey,支持支付宝和微信扫码支付,平均 2 分钟完成 Plus 开通,自 2025 年起已为超过 10,000 名用户完成充值。

www.toolcenter.ai favicon
Weekly Pick

Discover the Best AI & Productivity Tools — 1,500+ tools with honest reviews.

ToolCenter
huntereyes.net favicon
Weekly Pick

AI Eye Area Evaluation

Hunter Eyes
www.payforchat.com favicon
Weekly Pick

Subscribe to ChatGPT Plus/Pro in 1 minute — no international credit card needed.

PayForChat
happyhorseai.ai favicon
Weekly Pick

Happy Horse AI Creates Videos with Motion and Storytelling

Happy Horse
promptbuilder.cc favicon
Weekly Pick

Generate, optimize, test, and manage AI prompts in one place. Turn an idea into a ready-to-use prompt in seconds.

Prompt Builder