Add CSP security header for swagger page

add CSP security header to allow fetching additional resources for swagger page from CDN (cdn.jsdelivr.net ). The problem is that by default FastAPI provides CSP header that doesn't allow additional content to be loaded from other than the original server (policy service). There is a discussion on FastAPI github regarding this https://github.com/tiangolo/fastapi/discussions/8548 where we also found a solution

Merge request reports

Loading