Skip to content

Commit e1d5e64

Browse files
rolf-mozPhroZenOne
authored andcommitted
removed patch
1 parent 4785aa5 commit e1d5e64

File tree

2 files changed

+2
-35
lines changed

2 files changed

+2
-35
lines changed

scripts/rest_sni_patch.diff

-29
This file was deleted.

scripts/update-client.sh

+2-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set -o nounset
2222
set -o pipefail
2323

2424
# The openapi-generator version used by this client
25-
export OPENAPI_GENERATOR_COMMIT="v4.3.0"
25+
export OPENAPI_GENERATOR_COMMIT="v7.1.0"
2626

2727
SCRIPT_ROOT=$(dirname "${BASH_SOURCE}")
2828
CLIENT_ROOT="${SCRIPT_ROOT}/../kubernetes"
@@ -73,11 +73,7 @@ sed -i'' "s,^DEVELOPMENT_STATUS = .*,DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STAT
7373
# second, this should be ported to swagger-codegen
7474
echo ">>> patching client..."
7575
git apply "${SCRIPT_ROOT}/rest_client_patch.diff"
76-
# The fix this patch is trying to make is already in the upstream swagger-codegen
77-
# repo but it's not in the version we're using. We can remove this patch
78-
# once we upgrade to a version of swagger-codegen that includes it (version>= 6.6.0).
79-
# See https://github.com/OpenAPITools/openapi-generator/pull/15283
80-
git apply "${SCRIPT_ROOT}/rest_sni_patch.diff"
76+
8177
# The following is commented out due to:
8278
# AttributeError: 'RESTResponse' object has no attribute 'headers'
8379
# OpenAPI client generator prior to 6.4.0 uses deprecated urllib3 APIs.

0 commit comments

Comments
 (0)