Can we visualize our tRPC endpoints?

Like Swagger UI for example
3 Replies
Piotrek
Piotrek3y ago
you can use trpc-openapi for swagger if i'm not mistaken But I don't think there's a way to do it without plugins
Çağlar
ÇağlarOP3y ago
great, thank you
smoose
smoose4w ago
Looks like that package was sunsetted and now recommends using https://github.com/mcampa/trpc-to-openapi I've been using https://github.com/iway1/trpc-panel with no issues, though the last time it was released was 25/4/2023. I might switch just to make sure things are current. We'll see.
GitHub
GitHub - mcampa/trpc-to-openapi: OpenAPI support for tRPC 🧩
OpenAPI support for tRPC 🧩. Contribute to mcampa/trpc-to-openapi development by creating an account on GitHub.
GitHub
GitHub - iway1/trpc-panel
Contribute to iway1/trpc-panel development by creating an account on GitHub.

Did you find this page helpful?