Skip to content

Commit

Permalink
fix JsonCreator for jackson 2.18
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Nov 20, 2024
1 parent e4a8bce commit 6a3cd7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, ${it.type.toVrapType().fullClassName()}> values"
"final Map<String, ${it.type.toVrapType().fullClassName()}> values"
}else if(it.name.equals("interface")) {
"@JsonProperty(\"${it.name.lowerCamelCase()}\") final ${it.type.toVrapType().fullClassName()} _interface"
} else {
Expand Down

0 comments on commit 6a3cd7e

Please sign in to comment.