Rest api call failure fix from swagger ui when deployed as root