Skip to content

Commit d7f699c

Browse files
committed
ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 0.11.4
1 parent 5285266 commit d7f699c

File tree

5 files changed

+24
-17
lines changed

5 files changed

+24
-17
lines changed

gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
management:
22
openapi-checksum: 46093b002f359f8049d6b8210be2bc73
33
openapi-version: 0.1.0
4-
speakeasy-version: 0.11.3
4+
speakeasy-version: 0.11.4
55
typescript:
66
author: Speakeasy
77
packagename: '@speakeasy-api/speakeasy-client-sdk-typescript'
8-
version: 0.2.6
8+
version: 0.2.7

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": "0.1.6",
3+
"version": "0.2.6",
44
"author": "Speakeasy",
55
"scripts": {
66
"lint:fix": "tsc --noemit && eslint \"./src\" --ext .ts,.tsx --fix",

src/internal/utils/headers.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { ParamDecorator } from "./pathparams";
22
import { ParseParamDecorator } from "./utils";
3+
import { AxiosResponseHeaders, RawAxiosResponseHeaders } from "axios";
34

45
export const headerMetadataKey = "headerParam";
56

@@ -30,6 +31,13 @@ export function GetHeadersFromRequest(headerParams: any): any {
3031
return headers;
3132
}
3233

34+
export function GetHeadersFromResponse(
35+
headers: RawAxiosResponseHeaders | AxiosResponseHeaders
36+
): Map<string, string[]> {
37+
// TODO: convert Axios response headers to map
38+
return new Map<string, string[]>();
39+
}
40+
3341
function SerializeHeader(header: any, explode: boolean): string {
3442
const headerVals: string[] = [];
3543
if (Array.isArray(header)) {

src/sdk/models/shared/versionmetadata.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
22

33

44

5-
// VersionMetadataInput
6-
/**
7-
* A set of keys and associated values, attached to a particular version of an Api.
8-
**/
9-
export class VersionMetadataInput extends SpeakeasyBase {
10-
@Metadata({ data: "json, name=meta_key" })
11-
metaKey: string;
12-
13-
@Metadata({ data: "json, name=meta_value" })
14-
metaValue: string;
15-
}
16-
17-
185
// VersionMetadata
196
/**
207
* A set of keys and associated values, attached to a particular version of an Api.
@@ -38,3 +25,16 @@ export class VersionMetadata extends SpeakeasyBase {
3825
@Metadata({ data: "json, name=workspace_id" })
3926
workspaceId: string;
4027
}
28+
29+
30+
// VersionMetadataInput
31+
/**
32+
* A set of keys and associated values, attached to a particular version of an Api.
33+
**/
34+
export class VersionMetadataInput extends SpeakeasyBase {
35+
@Metadata({ data: "json, name=meta_key" })
36+
metaKey: string;
37+
38+
@Metadata({ data: "json, name=meta_value" })
39+
metaValue: string;
40+
}

src/sdk/sdk.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { ParamsSerializerOptions } from "axios";
55
import { GetQueryParamSerializer } from "../internal/utils/queryparams";
66
import { SerializeRequestBody } from "../internal/utils/requestbody";
77
import FormData from 'form-data';
8-
import { CreateSecurityClient } from "../internal/utils/security";
98
import * as utils from "../internal/utils/utils";
109
import { Security } from "./models/shared";
1110

0 commit comments

Comments
 (0)