Forum Discussion

rohannn80's avatar
rohannn80
Regular Visitor
2 years ago

Upon trying the access swagger API (v2/api-docs) via swaager-ui.html get CORS error

Hi,

 

Upon trying the access swagger API (v2/api-docs) via swaager-ui.html get CORS error. The swagger API (v2/api-docs) when ran individually / separately on a browser works fine without any issues. Have tried many online options but no luck. Backend application is in spring framework 5 version with no spring boot.

 

Need help as to what could be the resolution and where exactly the fix is needed. Since swagger API (v2/api-docs) works fine, fixes needed at application frond-end instead of back-end?

 

Thanks.

No RepliesBe the first to reply