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