Update EmployeeClient.java

This commit is contained in:
Amitabh Tiwari 2022-05-04 07:16:31 +05:30
parent ec0b628fb4
commit b5e698d26a
1 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,6 @@ import feign.Param;
import feign.RequestLine; import feign.RequestLine;
public interface EmployeeClient { public interface EmployeeClient {
@RequestLine("GET /empployee/{id}?active={isActive}") @RequestLine("GET /empployee/{id}?active={isActive}")
@Headers("Content-Type: application/json") @Headers("Content-Type: application/json")
Employee getEmployee(@Param long id, @Param boolean isActive); Employee getEmployee(@Param long id, @Param boolean isActive);