马老师Java后端工程师
private void descForEnumFields(ModelPropertyContext context, Class fieldType) {
Optional<ApiModelProperty> annotation = Optional.absent();
if (context.getAnnotatedElement().isPresent()) {
annotation = annotation .or(ApiModelProperties.findApiModePropertyAnnotation(context.getAnnotatedElement().get()));
}