package com.devjob.application.client;

import com.devjob.application.dto.JobInfo;
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 JobHttpClient {

    @GetExchange("/api/jobs/{id}")
    ApiResponse<JobInfo> getJob(@PathVariable("id") Long id);
}
