-
Notifications
You must be signed in to change notification settings - Fork 49
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 run localhost:3000/swagger/ can not find .json file #125
Comments
I just face the same problem, but suddenly realized that we cannot open swagger ui with slash do |
i had same problem, in console showing error |
|
thanks it work |
I'm running on Nextjs(14.2.14), and package.json: |
@Mikey-ShenSu Thank you. That worked for me too. |
Yep, can confirm. In my case, I'm getting
The latest new Elysia()
.use(
swagger({
documentation,
- path: "/",
+ path: "/somethingelse",
})
) In my case I wanted to host swagger on the root, not a separate path. Reverting to |
swagger can not find .json file , web import jsonfile url is http://localhost:3000/swagger/swagger/json ,double /swagger, so find 404 jsondata file.how to set swagger config to find this json
The text was updated successfully, but these errors were encountered: