From b143d16f32d1f6bb9b8f381c855db457f5b85572 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Thu, 30 Aug 2018 12:21:14 +0200 Subject: [PATCH] Chaned the helper's bounds --- .../builder/handlebars/HandlebarsJsonPathHelper.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-contract-verifier/src/main/groovy/org/springframework/cloud/contract/verifier/builder/handlebars/HandlebarsJsonPathHelper.groovy b/spring-cloud-contract-verifier/src/main/groovy/org/springframework/cloud/contract/verifier/builder/handlebars/HandlebarsJsonPathHelper.groovy index dffc6c9f72..efa9a6af10 100644 --- a/spring-cloud-contract-verifier/src/main/groovy/org/springframework/cloud/contract/verifier/builder/handlebars/HandlebarsJsonPathHelper.groovy +++ b/spring-cloud-contract-verifier/src/main/groovy/org/springframework/cloud/contract/verifier/builder/handlebars/HandlebarsJsonPathHelper.groovy @@ -16,13 +16,13 @@ import org.springframework.cloud.contract.verifier.builder.TestSideRequestTempla * @since 1.1.0 */ @CompileStatic -class HandlebarsJsonPathHelper implements Helper> { +class HandlebarsJsonPathHelper implements Helper { public static final String NAME = "jsonpath" public static final String REQUEST_MODEL_NAME = "request" @Override - Object apply(Map context, Options options) throws IOException { + Object apply(Object context, Options options) throws IOException { if (context instanceof Map) { // legacy Map oldContext = (Map) context