package ru.ibs.socrates.confexporter.external.pageparser.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Profile;
import ru.ibs.socrates.confexporter.external.pageparser.api.DefaultApi;
import ru.ibs.socrates.confexporter.external.pageparser.config.PageparserClientConfig;


/**
 * feign client.
 */
@FeignClient(
    name = "pageparserApiClient",
    url = "${integrations.pageparser.url}",
    configuration = PageparserClientConfig.class)
@Profile("!disable-feign-client")
public interface PageparserApiClient extends DefaultApi {
}
