Skip to content

Commit 88edaa6

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.19.6
1 parent aab97e5 commit 88edaa6

File tree

6 files changed

+27
-11
lines changed

6 files changed

+27
-11
lines changed

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,4 +278,12 @@ Based on:
278278
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
279279
- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy
280280
### Releases
281-
- [NPM v1.14.3] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.14.3 - .
281+
- [NPM v1.14.3] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.14.3 - .
282+
283+
## 2023-04-06 00:10:17
284+
### Changes
285+
Based on:
286+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
287+
- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy
288+
### Releases
289+
- [NPM v1.15.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.15.0 - .

gen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.19.3
6-
generationVersion: 2.16.7
5+
speakeasyVersion: 1.19.6
6+
generationVersion: 2.17.8
77
generation:
88
telemetryEnabled: true
99
sdkClassName: speakeasy
1010
sdkFlattening: true
1111
singleTagPerOp: false
1212
typescript:
13-
version: 1.14.3
13+
version: 1.15.0
1414
author: Speakeasy
1515
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.14.3",
3+
"version": "1.15.0",
44
"author": "Speakeasy",
55
"scripts": {
66
"prepare": "tsc --build"

src/sdk/schemas.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,11 @@ export class Schemas {
140140
switch (true) {
141141
case httpRes?.status == 200:
142142
if (utils.matchContentType(contentType, `application/json`)) {
143-
res.schema = httpRes?.data;
143+
const resBody: string = JSON.stringify(httpRes?.data, null, 0);
144+
const out: Uint8Array = new Uint8Array(resBody.length);
145+
for (let i = 0; i < resBody.length; i++)
146+
out[i] = resBody.charCodeAt(i);
147+
res.schema = out;
144148
}
145149
if (utils.matchContentType(contentType, `application/x-yaml`)) {
146150
const resBody: string = JSON.stringify(httpRes?.data, null, 0);
@@ -210,7 +214,11 @@ export class Schemas {
210214
switch (true) {
211215
case httpRes?.status == 200:
212216
if (utils.matchContentType(contentType, `application/json`)) {
213-
res.schema = httpRes?.data;
217+
const resBody: string = JSON.stringify(httpRes?.data, null, 0);
218+
const out: Uint8Array = new Uint8Array(resBody.length);
219+
for (let i = 0; i < resBody.length; i++)
220+
out[i] = resBody.charCodeAt(i);
221+
res.schema = out;
214222
}
215223
if (utils.matchContentType(contentType, `application/x-yaml`)) {
216224
const resBody: string = JSON.stringify(httpRes?.data, null, 0);

src/sdk/sdk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export class Speakeasy {
8080
public _securityClient: AxiosInstance;
8181
public _serverURL: string;
8282
private _language = "typescript";
83-
private _sdkVersion = "1.14.3";
84-
private _genVersion = "2.16.7";
83+
private _sdkVersion = "1.15.0";
84+
private _genVersion = "2.17.8";
8585
private _globals: any;
8686

8787
constructor(props?: SDKProps) {

0 commit comments

Comments
 (0)