Skip to content

Commit fa3fd85

Browse files
committed
Bump openapi-generator to v6.6.0
Once again, we skip over releases (v6.4.0 and v6.5.0) since they don't introduce any changes. Bumping to v6.6.0 allows us to remove a carried patch (hurrah!). Unfortunately though, this is also the last version to support the 'python-legacy' generator. The next version bump is unfortunately likely to be much more involved. Signed-off-by: Stephen Finucane <[email protected]>
1 parent 89d260c commit fa3fd85

File tree

6 files changed

+10
-41
lines changed

6 files changed

+10
-41
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Requested Commit/Tag : v6.3.0
2-
Actual Commit : 8f2676c5c2bcbcc41942307e5c8648cee38bcc44
1+
Requested Commit/Tag : v6.6.0
2+
Actual Commit : 7f8b853f502d9039c9a0aac2614ce92871e895ed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.3.0
1+
6.6.0

kubernetes/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,10 +1707,13 @@ Class | Method | HTTP request | Description
17071707
- [VersionInfo](docs/VersionInfo.md)
17081708

17091709

1710+
<a id="documentation-for-authorization"></a>
17101711
## Documentation For Authorization
17111712

17121713

1713-
## BearerToken
1714+
Authentication schemes defined for the API:
1715+
<a id="BearerToken"></a>
1716+
### BearerToken
17141717

17151718
- **Type**: API key
17161719
- **API key parameter name**: authorization

kubernetes/client/rest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ def __init__(self, configuration, pools_size=4, maxsize=None):
6969
if configuration.retries is not None:
7070
addition_pool_args['retries'] = configuration.retries
7171

72-
if configuration.socket_options is not None:
73-
addition_pool_args['socket_options'] = configuration.socket_options
74-
7572
if configuration.tls_server_name:
7673
addition_pool_args['server_hostname'] = configuration.tls_server_name
7774

75+
if configuration.socket_options is not None:
76+
addition_pool_args['socket_options'] = configuration.socket_options
77+
7878
if maxsize is None:
7979
if configuration.connection_pool_maxsize is not None:
8080
maxsize = configuration.connection_pool_maxsize

scripts/rest_sni_patch.diff

Lines changed: 0 additions & 29 deletions
This file was deleted.

scripts/update-client.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,5 @@ sed -i'' "s,^DEVELOPMENT_STATUS = .*,DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STAT
7676
echo ">>> Patching client..."
7777
git apply "${SCRIPT_ROOT}/hotfixes.diff"
7878
git apply "${SCRIPT_ROOT}/rest_client_patch.diff"
79-
# The fix this patch is trying to make is already in the upstream swagger-codegen
80-
# repo but it's not in the version we're using. We can remove this patch
81-
# once we upgrade to a version of swagger-codegen that includes it (version>= 6.6.0).
82-
# See https://github.com/OpenAPITools/openapi-generator/pull/15283
83-
git apply "${SCRIPT_ROOT}/rest_sni_patch.diff"
8479

8580
echo ">>> Done."

0 commit comments

Comments
 (0)