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