trpc-openapi with t3-stack
I am wondering if anyone has any experience adding trpc-openapi to the t3stack.
i have followed the basic steps of the readme guide and when i add a trpc-openapi handler to my app i get "tRPC failed on <no-path>: Not found" when calling a trpc procedure. this is my new [trpc].ts file
Another question i have is how do i test a endpoint when using the t3stack. in my routers folder i have a router called accountRouter which has a procedure called register. would my request to that procedure which i have added trpc-openapi to be something like "http://localhost:3000/api/accountRouter/register/{paramater}?{value}" ?
1 Reply
http://localhost:3000/api/accountRouter.register/%7Bparamater%7D?%7Bvalue%7D
this is the. route
url