[
https://issues.apache.org/jira/browse/AVRO-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974855#comment-16974855
]
Zezeng Wang commented on AVRO-2619:
-----------------------------------
{panel:title=Eg|titleBGColor=#3FA|bgColor=#DDD}
{code}
{"name":"User",
"type":"record",
"namespace":"example.avro"
"fields":[
{"name":"name","type":"string"},
{"name":"age","type":"string","javaAnnotation":"com.fasterxml.jackson.annotation.JsonIgnore"}]
}
{code}
This is a simple example of an annotation that can be generated on an attribute
field.
Is this what you need?
{panel}
> Configurable annotations for avro schemas
> -----------------------------------------
>
> Key: AVRO-2619
> URL: https://issues.apache.org/jira/browse/AVRO-2619
> Project: Apache Avro
> Issue Type: Wish
> Reporter: ck
> Priority: Major
>
> I wanted to know if it is possible to make it configurable to add annotations
> to schema generated with avro.For eg: I wanted to add @jsonignore to a
> property of schema generated with avro.I tried to look for a way on web abut
> could not find it.Please let me know if this is already possible as I was
> unable to find a solution for this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)