-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
SwaggerUIBundle is not defined #33
Comments
is swagger-ui-bundle.js loaded or not ? Where do you see this error ? |
I am getting the same error with my Web APIs built using ASPNETCore - 'SwaggerUIBundle' is undefined |
I hope this is not too late to post. But I had the same issue and found a solution to it:
That is as far as I got and mine started working |
I found a solution to this issue. For me, I've needed to copy the /dist directory in "vendor/swagger-api/swagger-ui" inside the /public of my lumen project. I'm not sure about the proper way but it works for me. Hope this can help someone. |
If you are working with loopback and having this error you can install swagger-ui-dist from It resolved my problem |
Facing the same issue.......Above solutions were of no help |
I am facing this issue while integrating openapi into SpringBoot application. Any leads would be greater help. TIA |
I am facing the same issue with my flask application. It works perfectly fine on my localhost. When I try to run it on k8s environment which have a reverse proxy. It gives me an error in the console that SwaggerUIBundle is not defined and I am not able to see the documentation due to this error. |
Same here.. Exactly like @aligillaniBD explained. What do I need to do!??? What the hack is going on. |
Same here, Has anyone found a fix yet? I have a Nestjs application. The documentation works on localhost. Not, the same case on my GCP compute instance. |
When I try to navigate to api/documentation response SwaggerUIBundle is not defined. In the code, SwaggerUIBundle make reference to swagger-ui/dist/swagger-ui-bundle.js, but I don't know why response SwaggerUIBundle is not defined.
The text was updated successfully, but these errors were encountered: