scottie1984 / swagger-ui-express

Adds middleware to your express app to serve the Swagger UI bound to your Swagger document. This acts as living documentation for your API hosted from within your app.
MIT License
1.42k stars 225 forks source link

swagger-ui-express is not working on the live environment (works locally) #243

Closed DelandPo closed 3 years ago

DelandPo commented 3 years ago

image

Getting swagger-ui-init.js:6956 Uncaught ReferenceError: SwaggerUIBundle is not defined at window.onload (swagger-ui-init.js:6956)

scottie1984 commented 3 years ago

Related to https://github.com/scottie1984/swagger-ui-express/issues/237 perhaps?

scottie1984 commented 3 years ago

Also previous issues with webpack https://github.com/scottie1984/swagger-ui-express/issues/176