private void resolveSet(Consumer<List> setter, Supplier<List> getter) {
		List value = getter.get();
		if (!CollectionUtils.isEmpty(value)) {
			setter.accept(value);
		}
	}
Resolve set.

@param setter the setter
@param getter the getter
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/customizers/SpecPropertiesCustomizer.java