From bd7e02c3e5607b378ad74b2ecdcf50eaec61b32e Mon Sep 17 00:00:00 2001 From: Sven Boeckelmann Date: Tue, 7 May 2024 18:46:57 +0200 Subject: [PATCH] Ok, have local object mapper while we wait for parents to be published --- .../openepcis/testdata/api/filter/SchemaExampleOASFilter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testdata-generator-rest-api/src/main/java/io/openepcis/testdata/api/filter/SchemaExampleOASFilter.java b/testdata-generator-rest-api/src/main/java/io/openepcis/testdata/api/filter/SchemaExampleOASFilter.java index 3e35dd8..961a47c 100644 --- a/testdata-generator-rest-api/src/main/java/io/openepcis/testdata/api/filter/SchemaExampleOASFilter.java +++ b/testdata-generator-rest-api/src/main/java/io/openepcis/testdata/api/filter/SchemaExampleOASFilter.java @@ -15,6 +15,7 @@ */ package io.openepcis.testdata.api.filter; +import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; import io.openepcis.resources.oas.EPCISExampleOASFilter; import io.quarkus.runtime.annotations.RegisterForReflection; @@ -33,6 +34,7 @@ @Slf4j public class SchemaExampleOASFilter extends EPCISExampleOASFilter implements OASFilter { + private final ObjectMapper objectMapper = new ObjectMapper(); @Override public void filterOpenAPI(OpenAPI openAPI) { super.filterOpenAPI(openAPI);