From 6a3cd7e51d963a18f3b89048946c344b24f37169 Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Wed, 20 Nov 2024 09:34:20 +0100 Subject: [PATCH] fix JsonCreator for jackson 2.18 --- .../client/builder/producers/JavaModelClassFileProducer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/javalang/builder-renderer/java-builder-client/src/main/kotlin/io/vrap/codegen/languages/javalang/client/builder/producers/JavaModelClassFileProducer.kt b/languages/javalang/builder-renderer/java-builder-client/src/main/kotlin/io/vrap/codegen/languages/javalang/client/builder/producers/JavaModelClassFileProducer.kt index 58ebaf1a..fe99f387 100644 --- a/languages/javalang/builder-renderer/java-builder-client/src/main/kotlin/io/vrap/codegen/languages/javalang/client/builder/producers/JavaModelClassFileProducer.kt +++ b/languages/javalang/builder-renderer/java-builder-client/src/main/kotlin/io/vrap/codegen/languages/javalang/client/builder/producers/JavaModelClassFileProducer.kt @@ -282,7 +282,7 @@ class JavaModelClassFileProducer constructor(override val vrapTypeProvider: Vrap .filterNot { it.name == this.discriminator() && this.discriminatorValue != null} .map { if(it.isPatternProperty()) { - "@JsonProperty(\"values\") final Map values" + "final Map values" }else if(it.name.equals("interface")) { "@JsonProperty(\"${it.name.lowerCamelCase()}\") final ${it.type.toVrapType().fullClassName()} _interface" } else {