Closed shaburov closed 2 years ago
Model
@JacksonModelAnnotation public class UserDTO { private String firstName; private String lastName; }
Registering a converter for annotated model
public class JacksonConverterFactory extends ExtensionConverterFactory { public JacksonConverterFactory(Logger logger, ExtensionConverter<Object> jacksonConverter) { super(logger); registerModelAnnotationConverter(jacksonConverter, JacksonModelAnnotation.class); } }
Model
Registering a converter for annotated model