private JavaType findResponseEntity(JavaType javaType) {
		if (ResponseEntity.class.isAssignableFrom(javaType.getRawClass())) {
			while (ResponseEntity.class != javaType.getRawClass())
				javaType = javaType.getSuperClass();
		}
		return javaType;
	}
Find response entity java type.

@param javaType the java type
@return the java type
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/converters/ResponseSupportConverter.java