Skip to content

Commit 10fa3eb

Browse files
authored
feat: rename accounts to data in list external accounts response (#127)
### TL;DR Updated the response schema for external accounts endpoint to use `data` instead of `accounts` as the property name. ### What changed? Changed the required property name in the external accounts API response from `accounts` to `data`. This affects the schema definition in the OpenAPI specification across multiple files: - `mintlify/openapi.yaml` - `openapi.yaml` - `openapi/paths/platform/platform_external_accounts.yaml` ### How to test? 1. Make a request to the external accounts endpoint 2. Verify that the response contains a `data` array instead of an `accounts` array 3. Ensure all client code that consumes this API is updated to reference the new property name ### Why make this change? This change standardizes the API response format to be consistent with other endpoints in the system that use `data` as the top-level property for array responses. This improves API consistency and makes client integration more predictable.
1 parent fc8dd03 commit 10fa3eb

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

mintlify/openapi.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/paths/platform/platform_external_accounts.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ get:
2424
schema:
2525
type: object
2626
required:
27-
- accounts
27+
- data
2828
properties:
29-
accounts:
29+
data:
3030
type: array
3131
description: List of external accounts matching the filter criteria
3232
items:

0 commit comments

Comments
 (0)