Skip to content
所有標籤

#standard-schema

2 篇文章

oRPC:把 end-to-end type safety 與 OpenAPI 放在同一條路徑

oRPC 同時支援 implementation-first 與 contract-first,能用 RPC client,也能由同一個 router 服務 OpenAPI 3.1.1 HTTP endpoint。

ts-rest:保留 REST 語意的 TypeScript contract-first API,以及停止維護後的去留

ts-rest 用共享 contract 描述 method、path、status code 與 schema,在不產生程式碼的前提下讓 server 與 client 保有端到端型別。2026-10 起官方宣布停止維護、不再有 bug 或安全修補,新專案改看 oRPC contract-first 或 OpenAPI-first;它的 contract 設計觀念仍然適用。