openapi

Please help me setup openAPI on this fresh app repo export const createTRPCContext = async (opts: { req: NextRequest }) => { // Fetch stuff that depends on the request return await createInnerTRPCContext({ headers: opts.req.headers, }); }; the problem is coming from here and the file in [...trpc] in api pages folder. When i call createContext req doesnt have the types i need https://github.com/MaW000/elite-f-rr
GitHub
GitHub - MaW000/elite-f-rr
Contribute to MaW000/elite-f-rr development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server