@SuppressWarnings("unchecked")
	public Schema resolveProperties(Schema schema, Locale locale) {
		resolveProperty(schema::getName, schema::name, propertyResolverUtils, locale);
		resolveProperty(schema::getTitle, schema::title, propertyResolverUtils, locale);
		resolveProperty(schema::getDescription, schema::description, propertyResolverUtils, locale);

		Map<String, Schema> properties = schema.getProperties();
		if (!CollectionUtils.isEmpty(properties)) {
			LinkedHashMap<String, Schema> resolvedSchemas = properties.entrySet().stream().map(es -> {
				es.setValue(resolveProperties(es.getValue(), locale));
				if (es.getValue().getItems() != null) {
					resolveProperties(es.getValue().getItems(), locale);
				}
				return es;
			}).collect(Collectors.toMap(Entry::getKey, Entry::getValue, (e1, e2) -> e2,
					LinkedHashMap::new));
			schema.setProperties(resolvedSchemas);
		}
		return schema;
	}
Resolve properties schema.

@param schema the schema
@param locale the locale
@return the schema
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service/OpenAPIService.java