plaid-openapi icon indicating copy to clipboard operation
plaid-openapi copied to clipboard

DefaultUpdateWebhook and Item do not use the ItemId schema for their item_id fields

Open relsunkaev opened this issue 3 years ago • 1 comments

The #/components/schemas/DefaultUpdateWebhook and #/components/schemas/Item are not using the #/components/schemas/ItemId schema for their respective item_id fields. Since I'm assuming the reason ItemId has a schema at all is to be able to modify what an ItemId looks like in one place this might be worth fixing.

relsunkaev avatar Oct 20 '21 19:10 relsunkaev

This is intentional for the second one -- we sometimes do this because it in different contexts the same field needs a different description and there isn't a good way to do that via a shared ref in OpenAPI (not that I was able to find, anyway). I agree that DefaultUpdateWebhook probably could use the ItemId schema, though.

phoenixy1 avatar Nov 04 '21 16:11 phoenixy1