Skip to content

Commit 56fde75

Browse files
yonatankarpclaude
andcommitted
fix(kotlin-client): remove upstream guard blocking Jackson 3 support
The upstream kotlin-spring PR added a guard throwing IllegalArgumentException for useJackson3 on kotlin-client. Since this branch implements that support, remove the guard while keeping the proper validation below it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b61a616 commit 56fde75

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinClientCodegen.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -469,11 +469,6 @@ public void processOpts() {
469469
convertPropertyToBooleanAndWriteBack(USE_SPRING_BOOT3);
470470
}
471471

472-
if (isUseJackson3()) {
473-
throw new IllegalArgumentException(
474-
"useJackson3 is not yet supported for kotlin-client. Jackson 3 support for kotlin-client will be added in a future release.");
475-
}
476-
477472
if (additionalProperties.containsKey(CodegenConstants.SERIALIZATION_LIBRARY)) {
478473
setSerializationLibrary((String) additionalProperties.get(CodegenConstants.SERIALIZATION_LIBRARY));
479474
additionalProperties.put(this.serializationLibrary.name(), true);

0 commit comments

Comments
 (0)