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(value = "noticia-controller", url = "${saic.url.domain}")
public interface NoticiaClient {
    @GetMapping("/noticia/findVisibles")
    List<Noticia> findVisibles();
}
