From fcacc99054084ca424028fbd3b75b3ce5557aa37 Mon Sep 17 00:00:00 2001 From: Tirth Bhagwat Date: Mon, 28 Oct 2024 12:43:36 +0530 Subject: [PATCH] feat: Add support for account_type field in get personal cards (#568) * Add a new field account_type in get personal cards response * Auto generate API docs --------- Co-authored-by: Siva --- reference/spender.yaml | 10 ++++++++++ src/components/schemas/personal_card.yaml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/reference/spender.yaml b/reference/spender.yaml index 444d16e98..de890e3d2 100644 --- a/reference/spender.yaml +++ b/reference/spender.yaml @@ -8333,6 +8333,11 @@ components: card_number: type: string example: '****3464' + account_type: + type: string + nullable: false + example: SAVINGS + description: Type of the bank account as provided by Yodlee. yodlee_account_id: $ref: '#/components/schemas/fk_string' yodlee_fastlink_params: @@ -8392,6 +8397,11 @@ components: card_number: type: string example: '****3464' + account_type: + type: string + nullable: false + example: SAVINGS + description: Type of the bank account as provided by Yodlee. yodlee_account_id: $ref: '#/components/schemas/fk_string' yodlee_fastlink_params: diff --git a/src/components/schemas/personal_card.yaml b/src/components/schemas/personal_card.yaml index 1f0686c67..57142ac89 100644 --- a/src/components/schemas/personal_card.yaml +++ b/src/components/schemas/personal_card.yaml @@ -73,6 +73,11 @@ personal_card_out: card_number: type: string example: '****3464' + account_type: + type: string + nullable: false + example: 'SAVINGS' + description: Type of the bank account as provided by Yodlee. yodlee_account_id: $ref: './fields.yaml#/fk_string' yodlee_fastlink_params: @@ -133,6 +138,11 @@ personal_card_delete_out: card_number: type: string example: '****3464' + account_type: + type: string + nullable: false + example: 'SAVINGS' + description: Type of the bank account as provided by Yodlee. yodlee_account_id: $ref: './fields.yaml#/fk_string' yodlee_fastlink_params: