CORS issue in swagger UI

Hi there … how can i change my http://localhost:8080/app/rest/v2/services/… to http://{ip-address}:8080/app/rest/v2/services/… in my swagger UI ?

I have deploy war to the server {ip-address} ? but when I used swagger UI like this

and trying to use GET from one of the service it gives error like this

How in CUBA I generate the swaggerDetailed.yaml to change from localhost to some ip address ?

Regards