Skip to content

Commit

Permalink
removed patch
Browse files Browse the repository at this point in the history
  • Loading branch information
rolf-moz committed Dec 2, 2023
1 parent c184309 commit 64336af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
29 changes: 0 additions & 29 deletions scripts/rest_sni_patch.diff

This file was deleted.

7 changes: 1 addition & 6 deletions scripts/update-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set -o nounset
set -o pipefail

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

SCRIPT_ROOT=$(dirname "${BASH_SOURCE}")
CLIENT_ROOT="${SCRIPT_ROOT}/../kubernetes"
Expand Down Expand Up @@ -73,11 +73,6 @@ sed -i'' "s,^DEVELOPMENT_STATUS = .*,DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STAT
# second, this should be ported to swagger-codegen
echo ">>> patching client..."
git apply "${SCRIPT_ROOT}/rest_client_patch.diff"
# The fix this patch is trying to make is already in the upstream swagger-codegen
# repo but it's not in the version we're using. We can remove this patch
# once we upgrade to a version of swagger-codegen that includes it (version>= 6.6.0).
# See https://github.com/OpenAPITools/openapi-generator/pull/15283
git apply "${SCRIPT_ROOT}/rest_sni_patch.diff"

echo ">>> generating docs..."
pushd "${DOC_ROOT}" > /dev/null
Expand Down

0 comments on commit 64336af

Please sign in to comment.