I had updated the Magento 2.3.5 to Magento 2.4.2 the my Swagger is not working i shows the Empty page. The console shows some error and there is a syntax error in swagger like it is showing but i had checked the code is proper in file Can anyone suggest why it is happening. 
I had found this if enable these below options the swagger is not working. 

