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

add support to json "title": "..." through

Open matlach opened this issue 9 years ago • 3 comments

According to : http://spacetelescope.github.io/understanding-json-schema/reference/generic.html#metadata along side "description" we also should be able to define the "title" property.

For description, this is achievable using @JsonPropertyDescription("..."). We should consider adding another annotation like @JsonPropertyTitle("...") to fill the gap.

Thanks,

matlach avatar Sep 24 '15 13:09 matlach

Is this for JSON Schema v3 (one supported by the module); or later v4?

cowtowncoder avatar Sep 24 '15 15:09 cowtowncoder

woopsy:

Note: This book describes JSON Schema draft 4. Earlier versions of JSON Schema are not completely compatible with the format described here.

matlach avatar Sep 24 '15 15:09 matlach

@matlach Ok. Yes, this should be supported once there is v4 version... I don't know what progress there is, if any, although it has been discussed on jackson-dev. You may want to join as there is interested in getting there.

cowtowncoder avatar Sep 24 '15 17:09 cowtowncoder