You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three possible ways of going about this in better-t-stack
Add OpenAPI setup by default in addition to RPC setup, so that the existing base routes can be used with OpenAPI. Only possible issue with this is it could be a bit confusing to a newcomer which they should use.
Add OpenAPI setup as an alternative to RPC setup. The Api layer menu would then look something like "tRPC", "oRPC - rpc setup", "oRPC - openapi setup"
Keep the existing oRPC option as is, and add idea (1) of a full setup as a third option. The Api layer menu would then look something like "tRPC", "oRPC ", "oRPC with OpenAPI"
Activity
AmanVarshney01 commentedon Jul 16, 2025
yep i like this
I'll add openapi support 💯
aidansunbury commentedon Jul 16, 2025
I'm also down to do it if you would like @AmanVarshney01. Just would just want your input on which path (1,2 or 3) to go down to support it.
AmanVarshney01 commentedon Jul 17, 2025
I am dropping a big rewrite in like 3 days. It should make the code a bit easier to maintain. lets wait for now. 😃
AmanVarshney01 commentedon Jul 20, 2025
@aidansunbury i tried some things but nothing worked out so no rewrite for now. if you want you can work on the openapi with orpc
this is a lot of work, if you decide to work on it let me know.
aidansunbury commentedon Jul 21, 2025
I'll get started on it @AmanVarshney01!
jigz commentedon Sep 6, 2025
#563