3 Replies
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 pluginsgreat, thank you
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.