How to get configurable option value of added product in wishlist in magento2.
$collection = $this->_wishlistCollectionFactory->create()
->addCustomerIdFilter($customerId);
$wishlistData = [];
foreach ($collection as $_item) {
$product = $this->_productRepository->getById($_item->getProductId());
echo "<pre>";print_r($product->getAttributeText('size'));
}exit;