@NotNull
	public static String getParentTypeName(AnnotatedType type, Class<?> cls) {
		return cls.getSimpleName() + StringUtils.capitalize(type.getParent().getType() != null ? type.getParent().getType() : "object");
	}
Gets parent type name.

@param type the type
@param cls  the cls
@return the parent type name
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/utils/SpringDocUtils.java