Sylius / ShopApiPlugin

Shop API for Sylius.
https://sylius.com
130 stars 89 forks source link

Address Book response does not include information about the default address #538

Open niklasnatter opened 4 years ago

niklasnatter commented 4 years ago

The swagger.yml file suggests that the response of a /address-book request contains a boolean property that indicates if an address is the default address of the current user: https://github.com/Sylius/ShopApiPlugin/blob/master/doc/swagger.yml#L1651

Unfortunately, i do not receive any default property in my response. A quick look at the code did not reveal any implementation for the property either: https://github.com/Sylius/ShopApiPlugin/blob/master/src/Factory/AddressBook/AddressViewFactory.php

mamazu commented 4 years ago

Correct this property is missing from the AddressView.