URL do cliente fingido de propriedades

@FeignClient(name="api-client",url="${api.url}")
public interface ApiClient{
}

in application.properties file:

api.url=https.yourApi.com
Megative