Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ export type ApiComponents = {
collateral?: AccountsSet;
ramps?: AccountsSet;
rates?: AccountsSet;
custom?: AccountsSet;
};

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const CAPABILITIES: Capabilities = {
collateral: '*',
ramps: '*',
rates: '*',
custom: '*',
},
};

Expand Down
1 change: 1 addition & 0 deletions v2/api-validator/tests/sanity-tests/capabilities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ describe('Capabilities', () => {
// 'trading',
'liquidity',
'ramps',
'custom',
];

let accountIds: string[];
Expand Down
2 changes: 2 additions & 0 deletions v2/openapi/fb-provider-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,8 @@ components:
$ref: '#/components/schemas/AccountsSet'
rates:
$ref: '#/components/schemas/AccountsSet'
custom:
$ref: '#/components/schemas/AccountsSet'

AccountsSet:
description: >-
Expand Down
2 changes: 2 additions & 0 deletions v2/openapi/fb-unified-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2798,6 +2798,8 @@ components:
$ref: '#/components/schemas/AccountsSet'
rates:
$ref: '#/components/schemas/AccountsSet'
custom:
$ref: '#/components/schemas/AccountsSet'
AccountsSet:
description: Indicates to which sub-accounts an operation applies. The value could be either a list of sub-account IDs or "*". The value "*" indicates all the sub-accounts.
oneOf:
Expand Down
Loading