ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.141.1

This commit is contained in:
speakeasybot
2024-01-16 00:28:40 +00:00
parent ff9f3dc489
commit 100d1e093b
87 changed files with 427 additions and 531 deletions

View File

@@ -7,13 +7,10 @@ async function run() {
accessToken: "<YOUR_API_KEY_HERE>",
});
const res = await sdk.server.getServerCapabilities();
const result = await sdk.server.getServerCapabilities();
if (res?.statusCode !== 200) {
throw new Error("Unexpected status code: " + res?.statusCode || "-");
}
// handle response
// Handle the result
console.log(result);
}
run();