Skip to content

Conversation

radusandor
Copy link
Contributor

Update API method names in the docs to match the actual method name.

Affected methods:
listActivities, listPolicies, listPrivateKeys, listSmartContractInterfaces, listUsers, listWallets, listWalletAccounts, whoami

Reason:
The old names caused runtime errors like: TypeError: turnkeyClient.apiClient(...).listActivities is not a function

…Keys, listSmartContractInterfaces, listUsers, listWallets, listWalletAccounts, whoami)from list* to get*
path,
method: method as HttpMethod,
description: operation.description || "",
// <-- New line to capture operationId from the OpenAPI spec
Copy link
Contributor

@amircheikh amircheikh Sep 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can remove the "new line" part.

/**
* Operation ID from the OpenAPI spec (used for SDK method naming)
*/
operationId?: string; // <-- Added
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can remove this "Added" comment

@radusandor radusandor merged commit c270edb into main Sep 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants