@@ -814,33 +814,6 @@ public void processOpts() {
814814 break ;
815815 }
816816
817- // Jackson 3 support: update importMapping to use tools.jackson.* packages
818- if (useJackson3 ) {
819- if (!libNative ) {
820- LOGGER .warn ("useJackson3 option is currently only supported for library=native. Ignoring useJackson3." );
821- useJackson3 = false ;
822- additionalProperties .put (USE_JACKSON_3 , false );
823- } else {
824- importMapping .put ("JsonProperty" , "tools.jackson.annotation.JsonProperty" );
825- importMapping .put ("JsonSubTypes" , "tools.jackson.annotation.JsonSubTypes" );
826- importMapping .put ("JsonTypeInfo" , "tools.jackson.annotation.JsonTypeInfo" );
827- importMapping .put ("JsonTypeName" , "tools.jackson.annotation.JsonTypeName" );
828- importMapping .put ("JsonCreator" , "tools.jackson.annotation.JsonCreator" );
829- importMapping .put ("JsonValue" , "tools.jackson.annotation.JsonValue" );
830- importMapping .put ("JsonIgnore" , "tools.jackson.annotation.JsonIgnore" );
831- importMapping .put ("JsonIgnoreProperties" , "tools.jackson.annotation.JsonIgnoreProperties" );
832- importMapping .put ("JsonInclude" , "tools.jackson.annotation.JsonInclude" );
833- importMapping .put ("JsonDeserialize" , "tools.jackson.databind.annotation.JsonDeserialize" );
834- importMapping .put ("JsonFormat" , "tools.jackson.annotation.JsonFormat" );
835- // Secondary rule: when JsonProperty is imported, also import JsonCreator (Jackson 3)
836- importMapping .put ("tools.jackson.annotation.JsonProperty" , "tools.jackson.annotation.JsonCreator" );
837- if (openApiNullable ) {
838- LOGGER .warn ("openApiNullable with useJackson3=true: JsonNullableModule is not yet available for Jackson 3. " +
839- "JsonNullable types will be generated but module registration will be skipped." );
840- }
841- }
842- }
843-
844817 if (isLibrary (FEIGN )) {
845818 additionalProperties .put ("feign-okhttp" , "true" );
846819 } else if (isLibrary (FEIGN_HC5 )) {
0 commit comments