package es.uv.saic.feign; import java.util.List; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import es.uv.saic.domain.Noticia; @FeignClient(name = "saic-core-service", contextId = "noticia-controller") public interface NoticiaClient { @GetMapping("/noticia") List findVisibles(); }