Skip to content
You are reading the v2 docs, currently in beta.V1 docs
oRPC
Esc
↑↓navigate↵open⌘Jpreview
On this page

Contract

Reference for oRPC contracts: describe procedures and routers without logic, implement them with type checking, generate them from OpenAPI, and scale clients.

A contract describes your API’s input, output, and errors without any logic. The server implements it with full type checking, and clients use it without importing server code. For a walkthrough, start with Contract-First.

Last updated on

Was this page helpful?