Update EmployeeClient.java
This commit is contained in:
parent
ec0b628fb4
commit
b5e698d26a
|
@ -6,8 +6,7 @@ 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);
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue