You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains the Smithy-based TypeScript/JavaScript client for Cloudserver's custom internal APIs. The client is generated from the .smithy model files that we defined in the /models folder.
4
+
5
+
If you need to work on it, install Smithy first : https://smithy.io/2.0/guides/smithy-cli/cli_installation.html
6
+
7
+
## Architecture
8
+
9
+
Each .smithy file in /models defines one api, and we have the Cloudserver service defined in service/cloudserver.smithy using these apis.
10
+
The client generation is performed this way :
11
+
12
+
```bash
13
+
# Generate TypeScript from .smithy model files, and compile TypeScript to JavaScript
14
+
yarn build
15
+
```
16
+
17
+
### Local testing
18
+
19
+
1. Install dependencies & build the smithy client: `yarn build`
0 commit comments