diff --git a/avro/src/main/java/com/fasterxml/jackson/dataformat/avro/AvroSerializerModifier.java b/avro/src/main/java/com/fasterxml/jackson/dataformat/avro/AvroSerializerModifier.java index d900eb503..05c26b495 100644 --- a/avro/src/main/java/com/fasterxml/jackson/dataformat/avro/AvroSerializerModifier.java +++ b/avro/src/main/java/com/fasterxml/jackson/dataformat/avro/AvroSerializerModifier.java @@ -34,9 +34,8 @@ public List changeProperties(SerializationConfig config, Iterator it = beanProperties.iterator(); while (it.hasNext()) { BeanPropertyWriter prop = it.next(); - if ("schema".equals(prop.getName())) { + if ("schema".equals(prop.getName()) || "specificData".equals(prop.getName())) { it.remove(); - break; } } }