diff --git a/gradle/javaProject.gradle b/gradle/javaProject.gradle index c803f3bd1..7f99ed579 100644 --- a/gradle/javaProject.gradle +++ b/gradle/javaProject.gradle @@ -44,6 +44,7 @@ dependencies { testImplementation "org.slf4j:slf4j-api:${slf4jVersion}" constraints { + implementation "com.fasterxml.jackson.core:jackson-databind:2.15.3" implementation "com.github.jknack:handlebars:4.2.0" implementation "com.google.code.findbugs:jsr305:3.0.2" implementation "info.picocli:picocli:4.0.1" diff --git a/openapi-bal-service/build.gradle b/openapi-bal-service/build.gradle index 7bcecca92..cdf56ab85 100644 --- a/openapi-bal-service/build.gradle +++ b/openapi-bal-service/build.gradle @@ -31,6 +31,7 @@ configurations { } dependencies { + implementation "com.fasterxml.jackson.core:jackson-databind" implementation ("io.swagger.parser.v3:swagger-parser:${swaggerParserVersion}") { exclude group: "io.swagger", module: "swagger-compat-spec-parser" exclude group: "org.slf4j", module: "slf4j-ext" diff --git a/openapi-bal-service/src/main/java/module-info.java b/openapi-bal-service/src/main/java/module-info.java index 1b9926b0d..787a2ca46 100644 --- a/openapi-bal-service/src/main/java/module-info.java +++ b/openapi-bal-service/src/main/java/module-info.java @@ -32,6 +32,7 @@ requires swagger.parser.v2.converter; requires swagger.parser.v3; requires org.apache.commons.lang3; + requires com.fasterxml.jackson.databind; exports io.ballerina.openapi.converter; exports io.ballerina.openapi.converter.utils; exports io.ballerina.openapi.converter.diagnostic;