Commit 10fa3eb
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
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments