private void updateRequestBodySchemaProperties(String key, Schema referencedSchema, Map properties) {
		if (!CollectionUtils.isEmpty(referencedSchema.getProperties())) {
			Iterator<Entry<String, Schema>> it = properties.entrySet().iterator();
			while (it.hasNext()) {
				Entry<String, Schema> entry = it.next();
				String propId = entry.getKey();
				if (entityInoMap.containsKey(key) && entityInoMap.get(key).getAssociationsFields().contains(propId)) {
					if (entry.getValue().getItems() != null)
						referencedSchema.addProperty(propId, new ArraySchema().items(new StringSchema()));
					else
						referencedSchema.addProperty(propId, new StringSchema());
				}
			}
		}
	}
Update request body schema properties.

@param key              the key
@param referencedSchema the referenced schema
@param properties       the properties
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/utils/SpringDocDataRestUtils.java