+++ 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.
Requested again 2024071821000101
The customer needs this because it is not possible to release the externally loaded CSS and JS resources, as the terminal server used has no internet connection and therefore cannot download any resources. Access is limited exclusively to the UCS dashboards of our multi-server environment. For data protection reasons, it is necessary to prevent the retrieval of external resources from CDNs and to provide local provision instead.
ucsschool-id-connector 5ce8614fb6369f51 | chore: serve swagger-ui-bundle directly instead of through CDN released as ucsschool-id-connector 3.0.1
QA: OK: serve Redoc and Swagger UI statically OK: jenkins tests OK: manual test OK: app released