Univention Bugzilla – Bug 56329
Bundle swagger web-ui dependencies instead of loading external resources
Last modified: 2023-08-08 09:25:42 CEST
+++ This bug was initially created as a clone of Bug #56314 +++ The Swagger UI of Kelvin loads resources (JS and CSS) from external sources when opened, most notably - https://cdn.jsdelivr.net/npm/swagger-ui-dist@4/swagger-ui-bundle.js - https://cdn.jsdelivr.net/npm/swagger-ui-dist@4/swagger-ui.css - https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js It is possible to bundle this into the container instead: https://fastapi.tiangolo.com/advanced/extending-openapi/?h=#self-hosting-javascript-and-css-for-docs
We had a support case, where the customer got an empty page, because cdn.jsdelivr.net was blocked by a proxy or firewall.