oRPC OpenAPI Getting Started
Installation
SKILL.md
OpenAPI Getting Started
oRPC is inherently compatible with OpenAPI, but you may need additional configurations such as path prefixes, custom routing, etc.
Installation
npm install @orpc/server@latest @orpc/client@latest @orpc/openapi@latest
Defining Routes
import { ORPCError, os } from '@orpc/server'
import * as z from 'zod'