public Class<?> getSpringConvertedType(Class<?> clazz) {
		Class<?> result = clazz;
		Field convertersField = FieldUtils.getDeclaredField(GenericConversionService.class, CONVERTERS, true);
		if (convertersField != null) {
			Object converters;
			if (!AopUtils.isAopProxy(formattingConversionService)) {
				try {
					converters = convertersField.get(formattingConversionService);
					Map<ConvertiblePair, Object> springConverters = (Map<ConvertiblePair, Object>) FieldUtils.readDeclaredField(converters, CONVERTERS, true);
					Optional<ConvertiblePair> convertiblePairOptional = springConverters.keySet().stream().filter(convertiblePair -> convertiblePair.getTargetType().equals(clazz)).findAny();
					if (convertiblePairOptional.isPresent()) {
						ConvertiblePair convertiblePair = convertiblePairOptional.get();
						result = convertiblePair.getSourceType();
					}
				}
				catch (IllegalAccessException e) {
					LOGGER.warn(e.getMessage());
				}
			}
		}
		return result;
	}
Gets spring converted type.

@param clazz the clazz
@return the spring converted type
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/providers/WebConversionServiceProvider.java