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.
These files are loaded in from swagger-ui-dist as we want to automatically take in the latest version. This issue would need to be addressed within Swagger UI and therefore raised directly against that project.
it takes to much to load it, could minified versions of swagger js scripts and styles be used?