inspired by trpc-openapi, trying to make a RESTful-compatible adaptor for tRPC
- Basic HTTP (different methods, path parameters, query parameters, headers, cookies, etc.)
- OpenAPI document generation with typescript (?)
- Support
subscription
through SSE or WebSocket - A tRPC link which provides similar DX as the original tRPC client (a metadata endpoint might exist)
- Find a better way to differentiate between
params
,query
, andbody
in the input - Octet-stream support (ctx.getRequestBody()?)
- Support
WriteableStream
as a response - ESLint & Prettier & a bundler (tsup maybe)
check tests/restfulHandler.ts