private AnnotatedType resolvePagedModelType(JavaType type) {
		if (type.hasGenericTypes()) {
			JavaType innerType = type.containedType(0);
			Type pagedModelType = ResolvableType
					.forClassWithGenerics(PagedModel.class, ResolvableType.forType(innerType))
					.getType();
			return new AnnotatedType(pagedModelType).resolveAsRef(true);
		}
		else {
			return PAGED_MODEL;
		}
	}
Resolve paged model type annotated type.

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