Skip to content

Commit b59276d

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.5.3
1 parent 9c0ecf2 commit b59276d

File tree

7 files changed

+32
-16
lines changed

7 files changed

+32
-16
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,21 @@ yarn add @speakeasy-api/speakeasy-client-sdk-typescript
1919
## SDK Example Usage
2020
<!-- Start SDK Example Usage -->
2121
```typescript
22-
import { SDK, withSecurity} from "@speakeasy-api/speakeasy-client-sdk-typescript";
23-
import { GetApisRequest, GetApisResponse } from "@speakeasy-api/speakeasy-client-sdk-typescript/src/sdk/models/operations";
22+
import {
23+
GetApisRequest,
24+
GetApisResponse
25+
} from "@speakeasy-api/speakeasy-client-sdk-typescript/dist/sdk/models/operations";
26+
2427
import { AxiosError } from "axios";
28+
import { SDK } from "@speakeasy-api/speakeasy-client-sdk-typescript";
2529

26-
const sdk = new SDK(withSecurity(
30+
const sdk = new SDK({
2731
security: {
2832
apiKey: {
2933
apiKey: "YOUR_API_KEY_HERE",
3034
},
3135
}
32-
));
36+
});
3337

3438
const req: GetApisRequest = {
3539
queryParams: {

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,12 @@ Based on:
8686
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
8787
- Speakeasy CLI 1.5.2 https://github.com/speakeasy-api/speakeasy
8888
### Releases
89-
- [NPM v1.5.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.5.1 - .
89+
- [NPM v1.5.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.5.1 - .
90+
91+
## 2023-02-24 17:32:32
92+
### Changes
93+
Based on:
94+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
95+
- Speakeasy CLI 1.5.3 https://github.com/speakeasy-api/speakeasy
96+
### Releases
97+
- [NPM v1.5.2] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.5.2 - .

USAGE.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
<!-- Start SDK Example Usage -->
22
```typescript
3-
import { SDK, withSecurity} from "@speakeasy-api/speakeasy-client-sdk-typescript";
4-
import { GetApisRequest, GetApisResponse } from "@speakeasy-api/speakeasy-client-sdk-typescript/src/sdk/models/operations";
3+
import {
4+
GetApisRequest,
5+
GetApisResponse
6+
} from "@speakeasy-api/speakeasy-client-sdk-typescript/dist/sdk/models/operations";
7+
58
import { AxiosError } from "axios";
9+
import { SDK } from "@speakeasy-api/speakeasy-client-sdk-typescript";
610

7-
const sdk = new SDK(withSecurity(
11+
const sdk = new SDK({
812
security: {
913
apiKey: {
1014
apiKey: "YOUR_API_KEY_HERE",
1115
},
1216
}
13-
));
17+
});
1418

1519
const req: GetApisRequest = {
1620
queryParams: {

gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.5.2
5+
speakeasyVersion: 1.5.3
66
generation:
77
telemetryEnabled: true
88
sdkClassName: SDK
99
typescript:
10-
version: 1.5.1
10+
version: 1.5.2
1111
author: Speakeasy
1212
packageName: '@speakeasy-api/speakeasy-client-sdk-typescript'

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@speakeasy-api/speakeasy-client-sdk-typescript",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"author": "Speakeasy",
55
"scripts": {
66
"prepare": "tsc --build"

src/sdk/sdk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export class SDK {
4040
public _securityClient: AxiosInstance;
4141
public _serverURL: string;
4242
private _language = "typescript";
43-
private _sdkVersion = "1.5.1";
44-
private _genVersion = "1.5.2";
43+
private _sdkVersion = "1.5.2";
44+
private _genVersion = "1.5.3";
4545

4646
constructor(props: SDKProps) {
4747
this._serverURL = props.serverUrl ?? ServerList[ServerProd];

0 commit comments

Comments
 (0)