package com.devjob.application.client;

import com.devjob.application.dto.MemberInfo;
import com.devjob.common.dto.ApiResponse;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.annotation.HttpExchange;

@HttpExchange
public interface UserHttpClient {

    @GetExchange("/internal/users/{id}")
    ApiResponse<MemberInfo> getUser(@PathVariable("id") Long id);
}
