blomqma / next-rest-framework

Type-safe, self-documenting APIs for Next.js
https://next-rest-framework.vercel.app
Other
155 stars 20 forks source link

Nested routes do not appear in Openapi.json #82

Closed momegas closed 1 year ago

momegas commented 1 year ago
Screenshot 2023-10-17 at 3 37 19 PM

I have created a nested route (ex. /app/api/test1/test2/route.ts) and it does not work as expected. While the same with one less nested route works fine (ex /app/api/test1/route.ts)

blomqma commented 1 year ago

Hey, can you answer these questions so I can provide better help for you, thanks:

momegas commented 1 year ago

Sorry I cant give you actual code but I removed the package for now so I could moev forward

blomqma commented 1 year ago

After testing with the file path you provided, I'm unable to reproduce this. I'll encourage you to try again with the latest version by following docs as the API has changed a bit, but I'm closing this issue for now.