Generate OpenAPI REST endpoints #142
Unanswered
tiagoefreitas
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I think tRPC is the better solution if you want that. next-safe-action is a simple type safe wrapper for React/Next Server Actions, so it's much lighter, since it doesn't have the router architecture that tRPC has. The API is (very) similar in v7, but under the hood there's much less library code. Hope this helps! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am deciding between using tRPC new server actions (under development) or this, but I am inclined to tRPC because of trpc-openapi / package-trpc-swagger that automatically generate REST endpoints and OpenAPI specs when I need them.
What do you use for that, do you create them manually?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions