jackson-module-jsonSchema icon indicating copy to clipboard operation
jackson-module-jsonSchema copied to clipboard

Add support for `@JsonClassDescription`

Open cowtowncoder opened this issue 10 years ago • 1 comments

(followup from: https://github.com/FasterXML/jackson-annotations/issues/73)

With 2.7, there is new annotation @JsonClassDescription, and appropriate access via AnnotationInstropector (call "findClassDescription()" or such). It would make sense to use this to get description for schema.

cowtowncoder avatar Nov 16 '15 03:11 cowtowncoder

Ok; Jackson 2.7 has method findClassDescription() both in AnnotationIntrospector and in BasicBeanDescription. But I am not sure where to bolt that in here. PRs would be welcome.

cowtowncoder avatar Dec 30 '15 03:12 cowtowncoder