From b5e698d26a8a32822820bd133d3dd96f38e84c65 Mon Sep 17 00:00:00 2001 From: Amitabh Tiwari Date: Wed, 4 May 2022 07:16:31 +0530 Subject: [PATCH] Update EmployeeClient.java --- .../baeldung/cloud/openfeign/client/EmployeeClient.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/spring-cloud/spring-cloud-openfeign/src/main/java/com/baeldung/cloud/openfeign/client/EmployeeClient.java b/spring-cloud/spring-cloud-openfeign/src/main/java/com/baeldung/cloud/openfeign/client/EmployeeClient.java index 67ff8b4f9a..569401bdcf 100644 --- a/spring-cloud/spring-cloud-openfeign/src/main/java/com/baeldung/cloud/openfeign/client/EmployeeClient.java +++ b/spring-cloud/spring-cloud-openfeign/src/main/java/com/baeldung/cloud/openfeign/client/EmployeeClient.java @@ -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); } \ No newline at end of file