private void customizeInfo(OpenAPI openApi, Info infoProperties) {
		Info info = openApi.getInfo();
		if (info != null) {
			resolveString(info::title, infoProperties::getTitle);
			resolveString(info::description, infoProperties::getDescription);
			resolveString(info::version, infoProperties::getVersion);
			resolveString(info::termsOfService, infoProperties::getTermsOfService);
			resolveString(info::summary, infoProperties::getSummary);

			License license = info.getLicense();
			License licenseProperties = infoProperties.getLicense();
			if (license != null) {
				resolveString(license::name, licenseProperties::getName);
				resolveString(license::url, licenseProperties::getUrl);
			}
			else
				info.license(licenseProperties);

			Contact contact = info.getContact();
			Contact contactProperties = infoProperties.getContact();
			if (contact != null) {
				resolveString(contact::name, contactProperties::getName);
				resolveString(contact::email, contactProperties::getEmail);
				resolveString(contact::url, contactProperties::getUrl);
			}
			else
				info.contact(contactProperties);
		}
		else
			openApi.info(infoProperties);
	}
Customize info.

@param openApi        the open api
@param infoProperties the info properties
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/customizers/SpecPropertiesCustomizer.java