1 Reply
No, tRPC uses RPC (remote procedure call) style of an API. But you can turn your tRPC router into rest router with https://github.com/jlalmes/trpc-openapi
GitHub
GitHub - jlalmes/trpc-openapi: OpenAPI support for tRPC 🧩
OpenAPI support for tRPC 🧩. Contribute to jlalmes/trpc-openapi development by creating an account on GitHub.