Open GilTRipper opened 5 months ago
I encountered the same error initially. However, it's peculiar because after sending a POST request from my client to the backend, the Swagger documentation was displayed correctly and the error disappeared. But when I restart my server, the error reappears
I encountered the same error initially. However, it's peculiar because after sending a POST request from my client to the backend, the Swagger documentation was displayed correctly and the error disappeared. But when I restart my server, the error reappears
whuuuut?
could someone create a reproducable adonisjs project and upload it to github?
https://github.com/ad-on-is/adonis-autoswagger/issues/98#issuecomment-2178209270
it's pretty much the same error, it says that the validator file doesn't exist when it already does
I just found out!
This is an issue with node ace serve --hmr
Using node ace serve --watch
however, works as expected. If someone knows how to solve it, I'd appreciate it.
For now, I've added a warning message, so it's at least clear what's going on, until the issue is somehow fixed.
Edit: I contacted the developer of hot-hook, to see whether it's an upstream issue, or an issue with AutoSwagger. https://github.com/Julien-R44/hot-hook/issues/9
Here im using example from readme to access docs vida /docs route
but when i'm trying to reach localhost:3333/docs got this issue Node .../backend/app/validators/auth.ts does not exist
my validators/auth.ts
the strange is that when i'm using
node ace docs:generate
everything is fine"adonis-autoswagger": "^3.47.0",