oRPC OpenAPI Routing
Installation
SKILL.md
Routing
Applies only when using OpenAPIHandler.
Basic Routing
By default oRPC uses POST, builds paths from router keys, and returns 200 on success.
os.route({ method: 'GET', path: '/example', successStatus: 200 })
os.route({ method: 'POST', path: '/example', successStatus: 201 })
.routecan be called multiple times; each call spread-merges with existing.