Closed jcoliz closed 1 year ago
Oh wow. Good catch. I've submitted an issue to Plaid Open API repo to ask them to correct it (plaid/plaid-openapi#114). I'll hard-code a workaround for now.
Fixed w/ eae2af9618de465127e43bb101d3e3f23a7dd93c; released w/ v4.18.1
@viceroypenguin Thank you! Verified that the workaround functions as expected.
Current State
In 66e96dc708da8f550d4af63a5e7f5b145a8bf1ca, this change was made to
src/Plaid/Entity/Address.cs
:Expected
The Address entity should still contain AddressData.
Here is an API documentation link for Identity/Get which is where I encountered it: https://plaid.com/docs/api/products/identity/#identity-get-response-accounts . Address data is still included there.
Let's look at some YAML snippets:
Also, I could point out that the HEAD of the Plaid Quickstart still expects address data.
https://github.com/plaid/quickstart/blob/master/frontend/src/dataUtilities.ts line 423:
Root Cause
While I haven't inspected the generation code for this issue, do I have a suspicion.
Let's have a look at
#/components/schemas/AddressMatchScore
Suspiciously, the
title
of this isaddress
, just like thetitle
of#/components/schemas/Address
is alsoaddress
. This leads me to believe the title field is being used as part of generation in a way we can't actually count on.