Adyen / adyen-openapi

OpenAPI specification for the Adyen APIs
MIT License
67 stars 51 forks source link

AccountService v5 requires fullPhoneNumber but only returns phoneNumber #9

Closed DJFliX closed 5 years ago

DJFliX commented 5 years ago

Using models generated from the AccountService v5 spec causes issues for me because the response to the AccountHolderDetails requires the fullPhoneNumber field but this field is not returned in the response to /createAccountHolder. Instead only the phoneNumber field is returned. For ShareholderContact both phoneNumber and fullPhoneNumber are present and none of them seem to be required. Would it be possible to return fullPhoneNumber as well as it is marked as required in AccountHolderDetails?

DJFliX commented 5 years ago

Well, this actually sounds like a duplicate of #8 now that I look at it...