public void setJavadocDescription(Class<?> cls, List<Field> fields, List<PropertyDescriptor> clsProperties, Schema existingSchema, boolean isProcessedType) {
		if (existingSchema != null) {
			if (StringUtils.isBlank(existingSchema.getDescription()) && !isProcessedType) {
				String classJavadoc = javadocProvider.getClassJavadoc(cls);
				if (StringUtils.isNotBlank(classJavadoc)) {
					existingSchema.setDescription(classJavadoc);
				}
			}
			Map<String, Schema> properties = existingSchema.getProperties();
			if (!CollectionUtils.isEmpty(properties)) {
				if (cls.getSuperclass() != null && cls.isRecord()) {
					Map<String, String> recordParamMap = javadocProvider.getRecordClassParamJavadoc(cls);
					properties.entrySet().stream()
							.filter(stringSchemaEntry -> StringUtils.isBlank(stringSchemaEntry.getValue().getDescription()))
							.forEach(stringSchemaEntry -> {
								if (recordParamMap.containsKey(stringSchemaEntry.getKey()))
									stringSchemaEntry.getValue().setDescription(recordParamMap.get(stringSchemaEntry.getKey()));
							});
				}
				properties.entrySet().stream()
						.filter(stringSchemaEntry -> StringUtils.isBlank(stringSchemaEntry.getValue().getDescription()))
						.forEach(stringSchemaEntry -> {
							Optional<Field> optionalField = fields.stream().filter(field1 -> findFields(stringSchemaEntry, field1)).findAny();
							optionalField.ifPresent(field -> {
								String fieldJavadoc = javadocProvider.getFieldJavadoc(field);
								if (StringUtils.isNotBlank(fieldJavadoc))
									stringSchemaEntry.getValue().setDescription(fieldJavadoc);
							});
							if (StringUtils.isBlank(stringSchemaEntry.getValue().getDescription())) {
								Optional<PropertyDescriptor> optionalPd = clsProperties.stream().filter(pd -> pd.getName().equals(stringSchemaEntry.getKey())).findAny();
								optionalPd.ifPresent(pd1 -> {
									if (pd1.getReadMethod() != null) {
										String fieldJavadoc = javadocProvider.getMethodJavadocDescription(pd1.getReadMethod());
										if (StringUtils.isNotBlank(fieldJavadoc))
											stringSchemaEntry.getValue().setDescription(fieldJavadoc);
									}
								});
							}
						});
			}
		}
	}
Sets javadoc description.

@param cls             the cls
@param fields          the fields
@param clsProperties   the bean properties of cls
@param existingSchema  the existing schema
@param isProcessedType the is processed type
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/customizers/JavadocPropertyCustomizer.java