Skip to content

Commit a330431

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.99.2
1 parent 5a09f85 commit a330431

File tree

8 files changed

+65
-54
lines changed

8 files changed

+65
-54
lines changed

README.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,27 @@ yarn add @speakeasy-api/speakeasy-client-sdk-typescript
2121
```typescript
2222
import { Speakeasy } from "@speakeasy-api/speakeasy-client-sdk-typescript";
2323

24-
(async() => {
25-
const sdk = new Speakeasy({
26-
security: {
27-
apiKey: "",
28-
},
29-
});
30-
31-
const res = await sdk.apis.getApis({
32-
metadata: {
33-
"South": [
34-
"Southwest",
35-
],
36-
},
37-
op: {
38-
and: false,
39-
},
40-
});
41-
42-
if (res.statusCode == 200) {
43-
// handle response
44-
}
24+
(async () => {
25+
const sdk = new Speakeasy({
26+
security: {
27+
apiKey: "",
28+
},
29+
});
30+
31+
const res = await sdk.apis.getApis({
32+
metadata: {
33+
South: ["Southwest"],
34+
},
35+
op: {
36+
and: false,
37+
},
38+
});
39+
40+
if (res.statusCode == 200) {
41+
// handle response
42+
}
4543
})();
44+
4645
```
4746
<!-- End SDK Example Usage -->
4847

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,4 +966,14 @@ Based on:
966966
### Generated
967967
- [typescript v1.60.0] .
968968
### Releases
969-
- [NPM v1.60.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.60.0 - .
969+
- [NPM v1.60.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.60.0 - .
970+
971+
## 2023-10-17 00:10:57
972+
### Changes
973+
Based on:
974+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
975+
- Speakeasy CLI 1.99.2 (2.155.1) https://github.com/speakeasy-api/speakeasy
976+
### Generated
977+
- [typescript v1.60.1] .
978+
### Releases
979+
- [NPM v1.60.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.60.1 - .

USAGE.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,26 @@
44
```typescript
55
import { Speakeasy } from "@speakeasy-api/speakeasy-client-sdk-typescript";
66

7-
(async() => {
8-
const sdk = new Speakeasy({
9-
security: {
10-
apiKey: "",
11-
},
12-
});
7+
(async () => {
8+
const sdk = new Speakeasy({
9+
security: {
10+
apiKey: "",
11+
},
12+
});
1313

14-
const res = await sdk.apis.getApis({
15-
metadata: {
16-
"South": [
17-
"Southwest",
18-
],
19-
},
20-
op: {
21-
and: false,
22-
},
23-
});
14+
const res = await sdk.apis.getApis({
15+
metadata: {
16+
South: ["Southwest"],
17+
},
18+
op: {
19+
and: false,
20+
},
21+
});
2422

25-
if (res.statusCode == 200) {
26-
// handle response
27-
}
23+
if (res.statusCode == 200) {
24+
// handle response
25+
}
2826
})();
27+
2928
```
3029
<!-- End SDK Example Usage -->

docs/sdks/speakeasy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Speakeasy API: The Speakeasy API allows teams to manage common operations with their APIs
77

88
The Speakeasy Platform Documentation
9-
<https://speakeasyapi.dev/docs/>
9+
</docs>
1010
### Available Operations
1111

1212
* [validateApiKey](#validateapikey) - Validate the current api key.

gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: 8c4f3932e054e1b349a9a34f12cf7e8c
3+
docChecksum: ba638b2ad28966c596e28321a2003686
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.96.1
6-
generationVersion: 2.150.0
5+
speakeasyVersion: 1.99.2
6+
generationVersion: 2.155.1
77
generation:
88
sdkClassName: speakeasy
99
singleTagPerOp: false
@@ -18,7 +18,7 @@ features:
1818
inputOutputModels: 2.81.1
1919
serverIDs: 2.81.1
2020
typescript:
21-
version: 1.60.0
21+
version: 1.60.1
2222
author: Speakeasy
2323
flattenGlobalSecurity: false
2424
maxMethodParams: 0

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"name": "@speakeasy-api/speakeasy-client-sdk-typescript",
3-
"version": "1.60.0",
3+
"version": "1.60.1",
44
"author": "Speakeasy",
55
"scripts": {
6-
"prepare": "tsc --build"
6+
"prepare": "tsc --build",
7+
"check:tsc": "tsc --noEmit --skipLibCheck",
8+
"check:eslint": "eslint --max-warnings=0 src",
9+
"check": "npm run check:tsc && npm run check:eslint"
710
},
811
"dependencies": {
912
"axios": "^1.1.3",

src/sdk/sdk.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ export class SDKConfiguration {
6060
serverDefaults: any;
6161
language = "typescript";
6262
openapiDocVersion = "0.3.0";
63-
sdkVersion = "1.60.0";
64-
genVersion = "2.150.0";
63+
sdkVersion = "1.60.1";
64+
genVersion = "2.155.1";
6565
userAgent =
66-
"speakeasy-sdk/typescript 1.60.0 2.150.0 0.3.0 @speakeasy-api/speakeasy-client-sdk-typescript";
66+
"speakeasy-sdk/typescript 1.60.1 2.155.1 0.3.0 @speakeasy-api/speakeasy-client-sdk-typescript";
6767
retryConfig?: utils.RetryConfig;
6868
public constructor(init?: Partial<SDKConfiguration>) {
6969
Object.assign(this, init);
@@ -73,7 +73,7 @@ export class SDKConfiguration {
7373
/**
7474
* Speakeasy API: The Speakeasy API allows teams to manage common operations with their APIs
7575
*
76-
* @see {@link https://speakeasyapi.dev/docs/} - The Speakeasy Platform Documentation
76+
* @see {@link /docs} - The Speakeasy Platform Documentation
7777
*/
7878
export class Speakeasy {
7979
/**

0 commit comments

Comments
 (0)