Skip to content

Commit d707138

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeay CLI 1.107.0
1 parent 738faff commit d707138

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
@@ -152,4 +152,14 @@ Based on:
152152
### Generated
153153
- [typescript v0.7.0] .
154154
### Releases
155-
- [NPM v0.7.0] https://www.npmjs.com/package/unstructured-client/v/0.7.0 - .
155+
- [NPM v0.7.0] https://www.npmjs.com/package/unstructured-client/v/0.7.0 - .
156+
157+
## 2023-10-25 00:20:06
158+
### Changes
159+
Based on:
160+
- OpenAPI Doc 0.0.1
161+
- Speakeasy CLI 1.107.0 (2.171.0) https://github.com/speakeasy-api/speakeasy
162+
### Generated
163+
- [typescript v0.8.0] .
164+
### Releases
165+
- [NPM v0.8.0] https://www.npmjs.com/package/unstructured-client/v/0.8.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: 25324f1821b1070aa4a416ec8ddca590
44
docVersion: 0.0.1
5-
speakeasyVersion: 1.104.0
6-
generationVersion: 2.169.0
5+
speakeasyVersion: 1.107.0
6+
generationVersion: 2.171.0
77
generation:
88
comments:
99
disableComments: false
@@ -15,15 +15,15 @@ generation:
1515
tagNamespacingDisabled: false
1616
features:
1717
typescript:
18-
core: 2.93.0
18+
core: 2.94.0
1919
examples: 2.81.3
2020
globalSecurity: 2.82.0
2121
globalServerURLs: 2.82.0
2222
nameOverrides: 2.81.1
2323
retries: 2.82.1
2424
serverIDs: 2.81.1
2525
typescript:
26-
version: 0.7.0
26+
version: 0.8.0
2727
author: Unstructured
2828
clientServerStatusCodesAsErrors: true
2929
flattenGlobalSecurity: false

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": "unstructured-client",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"author": "Unstructured",
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,9 +60,9 @@ export class SDKConfiguration {
6060
serverDefaults: any;
6161
language = "typescript";
6262
openapiDocVersion = "0.0.1";
63-
sdkVersion = "0.7.0";
64-
genVersion = "2.169.0";
65-
userAgent = "speakeasy-sdk/typescript 0.7.0 2.169.0 0.0.1 unstructured-client";
63+
sdkVersion = "0.8.0";
64+
genVersion = "2.171.0";
65+
userAgent = "speakeasy-sdk/typescript 0.8.0 2.171.0 0.0.1 unstructured-client";
6666
retryConfig?: utils.RetryConfig;
6767
public constructor(init?: Partial<SDKConfiguration>) {
6868
Object.assign(this, init);

0 commit comments

Comments
 (0)