-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on accessing localhost:3333/swagger #102
Comments
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? |
it's pretty much the same error, it says that the validator file doesn't exist when it already does |
I just found out! |
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. Julien-R44/hot-hook#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",
The text was updated successfully, but these errors were encountered: