wso2 / docs-open-banking

Apache License 2.0
39 stars 25 forks source link

Fix the Swagger UI Vulnerability in Accelerator Docs Space #819

Closed DinithiDiaz closed 1 year ago

DinithiDiaz commented 1 year ago

Description:

Need to fix the Swagger UI vulnerability in the Accelerator docs space with the best approach and remove the unused Swagger UI libraries from the toolkit docs repos.

Swagger UI library version used currently in OB doc spaces:

swagger-version

References:

Mail: "Swagger UI vulnerability in WSO2 Docs spaces"

DinithiDiaz commented 1 year ago

As discussed with the R&D team, I have done the modifications to replace Swagger UI with Redoc similar to what API Manager docs have integrated in their latest versions.

I have done the modifications to integrate Redoc instead of Swagger UI in the Open Banking doc space and removed the Swagger UI library from the docs-open-banking repo. Additionally, I have included the redoc.standalone.js file inside the assets/lib/redoc folder as per the feedback I received from the team.

Furthermore, the Swagger UI library had been included in the following doc repos:

I have removed them as well.