-
Notifications
You must be signed in to change notification settings - Fork 51
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
Swagger 1.1.0 does NOT load anymore #133
Comments
hi @cholasimmons whats the error youre seeing? im just looking into this now : ) |
There's no error at all, the browser screen is actually just throwing a response that it would normally throw when the route exists (but you're not permitted to view it), it's almost like swagger is not loading at all. The recent Elysia update 1.1.3 gave me some issues with helmet() so maybe the problem is coming from there? In the past I recall helmet used to prevent swagger from loading without a little "directives" patch. If it helps @marclave , here's the repo I was using: cholasimmons/bun-elysia-modular_auth |
Can confirm, this doesn't work on Swagger 1.1.0, downgraded to 1.0.5 and worked out of the box again. The /health checks works without a bearer token and the authenticated routes I have after these as well. The Swagger endpoints seems to get routed through the authentication because I get the Unauthorized error.
|
Same here. Any solution? |
investigating today! immediately im not sure whats up 🤔 |
I have an error on 1.1.0+ when starting my app , rolled back successfully to 1.05. I think this is probably related
|
Same problem here.
when using Swagger, the error disappears when commented out. in package.json:
Confirmed to work when pinning the version to 1.0.5 |
Same here, 404 NOT_FOUND Edit: For anyone else facing this issue .. try to move the swagger plugin to the topmost level and see if it works. |
Tried moving it, still the same. I am facing same issue as @DaniumX - #133 (comment).
|
Another problem is that Swagger breaks completely if you use |
I get the same issue with the "Invalid plugin type." error with version 1.1.1 of @elisiajs/swagger within a SvelteKit server page. Changing @elisiajs/swagger to version 1.0.5 does resolve the error within SvelteKit. |
Still not working with |
Same here.
|
I'm now on Elysia 1.2.9, Swagger 1.2.0 still isn't doing what it's meant to. |
I recently updated Elysia to 1.1.3 and Swagger to 1.1.0,
Off the bat helmet() prevented Elysia from running, which was fixed by rolling Elysia back to v1.1.2.
Then I noticed Swagger doesn't load at all (in either versions of Elysia), but rolling it back to version v1.0.5 worked instantly
The text was updated successfully, but these errors were encountered: