rest-schemagen icon indicating copy to clipboard operation
rest-schemagen copied to clipboard

Add support for getter methods in object schema generation

Open wuan opened this issue 9 years ago • 2 comments

Currently, the schema generator only supports public fields when determining the object schema. This behaviour should be expanded to public getter methods.

wuan avatar Nov 13 '15 14:11 wuan

+1

uweschaefer avatar Nov 13 '15 21:11 uweschaefer

Better we take the @JsonAutoDetect-Annotation into account and then determine if getters and/or setter or fields would be in the schema. (Maybe with the help of a standard-plugin)

JoergAdler avatar Nov 16 '15 08:11 JoergAdler