Skip to content

Commit 312e6f9

Browse files
authored
[docs] Update README.md in api/ (aptos-labs#10764)
1 parent ad50b99 commit 312e6f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ cargo run -p aptos-openapi-spec-generator -- -f json -o api/doc/spec.json
2727
3. Regenerate the TypeScript SDK client files based upon the new API spec:
2828
```
2929
cd ecosystem/typescript/sdk
30+
pnpm install
3031
pnpm generate-client
3132
```
3233
4. Manually update the helper methods in the TypeScript SDK in: `ecosystem/typescript/sdk/src/aptos_client.ts`. Note: This is necessary because we wrap the generated client, so the docs on the methods in that file are written by hand. For example, if you change `/accounts/<addr>/resources` in the API, the `getAccountResources` method in the generated client will be different. You must therefore then change `getAccountResources` in `ecosystem/typescript/sdk/src/aptos_client.ts`, which wraps the generated method.

0 commit comments

Comments
 (0)