Skip to content

Commit 5f9ba89

Browse files
committed
removed api_client_dict_syntax.diff, openapi generator v6.6.0 already supports dict syntax
1 parent 7d96510 commit 5f9ba89

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

scripts/api_client_dict_syntax.diff

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

scripts/update-client.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ sed -i'' "s,^DEVELOPMENT_STATUS = .*,DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STAT
6969
# second, this should be ported to swagger-codegen
7070
echo ">>> patching client..."
7171
git apply "${SCRIPT_ROOT}/rest_client_patch.diff"
72-
# Support dict[str, str] syntax in ApiClient deserializer alongside legacy
73-
# dict(str, str). This enables forward compatibility with modern Python typing
74-
# syntax while maintaining backward compatibility. Users can now convert
75-
# openapi_types for Pydantic integration.
76-
# See https://github.com/kubernetes-client/python/issues/2463
77-
git apply "${SCRIPT_ROOT}/api_client_dict_syntax.diff"
7872
# The following is commented out due to:
7973
# AttributeError: 'RESTResponse' object has no attribute 'headers'
8074
# OpenAPI client generator prior to 6.4.0 uses deprecated urllib3 APIs.

0 commit comments

Comments
 (0)