Fix bug in official Gocardless API definition

The official Gocardless API definition indicates that transactions are
directly output to an array.

Instead, they are wrapped in a transactions key.

This made the code fail to retrieve transactions, because they could not
be correctly serialized.

This is now fixed in the API definition, and the API code is also
regenerated.

Signed-off-by: Jacob Kiers <code@kiers.eu>
This commit is contained in:
2024-10-04 20:34:27 +02:00
parent f0b8df90b9
commit 80849a9eef
8 changed files with 71 additions and 11 deletions

View File

@@ -12,6 +12,7 @@ docs/AgreementsApi.md
docs/BalanceAmountSchema.md
docs/BalanceSchema.md
docs/BankTransaction.md
docs/BankTransactions.md
docs/CurrencyExchangeSchema.md
docs/DetailSchema.md
docs/EndUserAgreement.md
@@ -52,6 +53,7 @@ src/models/account_schema.rs
src/models/balance_amount_schema.rs
src/models/balance_schema.rs
src/models/bank_transaction.rs
src/models/bank_transactions.rs
src/models/currency_exchange_schema.rs
src/models/detail_schema.rs
src/models/end_user_agreement.rs