Skip to content

Commit 527ff0f

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.31.1
1 parent fd0bd85 commit 527ff0f

5 files changed

Lines changed: 16 additions & 8 deletions

File tree

common/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,4 +302,12 @@ Based on:
302302
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
303303
- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy
304304
### Releases
305-
- [PyPI v0.13.4] https://pypi.org/project/codat-common/0.13.4 - common
305+
- [PyPI v0.13.4] https://pypi.org/project/codat-common/0.13.4 - common
306+
307+
## 2023-05-13 00:15:46
308+
### Changes
309+
Based on:
310+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
311+
- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy
312+
### Releases
313+
- [PyPI v0.14.0] https://pypi.org/project/codat-common/0.14.0 - common

common/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: 2d583c2582024747bb63521ccfa3160b
44
docVersion: 2.1.0
5-
speakeasyVersion: 1.30.1
6-
generationVersion: 2.26.4
5+
speakeasyVersion: 1.31.1
6+
generationVersion: 2.27.0
77
generation:
88
telemetryEnabled: true
99
sdkClassName: CodatCommon
1010
singleTagPerOp: false
1111
python:
12-
version: 0.13.4
12+
version: 0.14.0
1313
author: Speakeasy
1414
description: Python Client SDK Generated by Speakeasy
1515
maxMethodParams: 0

common/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="codat-common",
13-
version="0.13.4",
13+
version="0.14.0",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

common/src/codatcommon/sdk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class CodatCommon:
4949
_security_client: requests_http.Session
5050
_server_url: str = SERVERS[0]
5151
_language: str = "python"
52-
_sdk_version: str = "0.13.4"
53-
_gen_version: str = "2.26.4"
52+
_sdk_version: str = "0.14.0"
53+
_gen_version: str = "2.27.0"
5454

5555
def __init__(self,
5656
security: shared.Security = None,

common/src/codatcommon/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict,
112112
client.client.headers[header_name] = value
113113
elif scheme_type == 'http':
114114
if sub_type == 'bearer':
115-
client.client.headers[header_name] = value
115+
client.client.headers[header_name] = value.lower().startswith('bearer ') and value or f'Bearer {value}'
116116
else:
117117
raise Exception('not supported')
118118
else:

0 commit comments

Comments
 (0)