Skip to content

Commit 32ac197

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.107.0
1 parent ab6eab6 commit 32ac197

File tree

6 files changed

+22
-12
lines changed

6 files changed

+22
-12
lines changed

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,4 +996,14 @@ Based on:
996996
### Generated
997997
- [typescript v1.61.0] .
998998
### Releases
999-
- [NPM v1.61.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.61.0 - .
999+
- [NPM v1.61.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.61.0 - .
1000+
1001+
## 2023-10-25 00:10:51
1002+
### Changes
1003+
Based on:
1004+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
1005+
- Speakeasy CLI 1.107.0 (2.171.0) https://github.com/speakeasy-api/speakeasy
1006+
### Generated
1007+
- [typescript v1.62.0] .
1008+
### Releases
1009+
- [NPM v1.62.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.62.0 - .

gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ configVersion: 1.0.0
22
management:
33
docChecksum: ba638b2ad28966c596e28321a2003686
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.104.0
6-
generationVersion: 2.169.0
5+
speakeasyVersion: 1.107.0
6+
generationVersion: 2.171.0
77
generation:
88
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-typescript.git
99
sdkClassName: speakeasy
@@ -12,14 +12,14 @@ generation:
1212
features:
1313
typescript:
1414
acceptHeaders: 2.81.1
15-
core: 2.93.0
15+
core: 2.94.0
1616
examples: 2.81.3
1717
globalSecurity: 2.82.0
1818
globalServerURLs: 2.82.0
1919
inputOutputModels: 2.81.1
2020
serverIDs: 2.81.1
2121
typescript:
22-
version: 1.61.0
22+
version: 1.62.0
2323
author: Speakeasy
2424
flattenGlobalSecurity: false
2525
installationURL: https://github.com/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.61.0",
3+
"version": "1.62.0",
44
"author": "Speakeasy",
55
"scripts": {
66
"prepare": "tsc --build",

src/internal/utils/security.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function parseSecuritySchemeValue(
179179
properties.headers[securityDecorator.Name] = value;
180180
break;
181181
case "oauth2":
182-
properties.headers[securityDecorator.Name] = value;
182+
properties.headers[securityDecorator.Name] = value.toLowerCase().startsWith("bearer ") ? value : `Bearer ${value}`;
183183
break;
184184
case "http":
185185
switch (schemeDecorator.SubType) {

src/sdk/sdk.ts

Lines changed: 3 additions & 3 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.61.0";
64-
genVersion = "2.169.0";
63+
sdkVersion = "1.62.0";
64+
genVersion = "2.171.0";
6565
userAgent =
66-
"speakeasy-sdk/typescript 1.61.0 2.169.0 0.3.0 @speakeasy-api/speakeasy-client-sdk-typescript";
66+
"speakeasy-sdk/typescript 1.62.0 2.171.0 0.3.0 @speakeasy-api/speakeasy-client-sdk-typescript";
6767
retryConfig?: utils.RetryConfig;
6868
public constructor(init?: Partial<SDKConfiguration>) {
6969
Object.assign(this, init);

0 commit comments

Comments
 (0)