From f9c38c5378bb972355baede563970195900f7a7d Mon Sep 17 00:00:00 2001 From: yliao Date: Tue, 21 May 2024 22:08:40 +0000 Subject: [PATCH] commented out rest_urllib_headers.diff as it caused AttributeError: --- scripts/update-client.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/update-client.sh b/scripts/update-client.sh index b6f12a3cd..2b0ce7be1 100755 --- a/scripts/update-client.sh +++ b/scripts/update-client.sh @@ -78,8 +78,10 @@ git apply "${SCRIPT_ROOT}/rest_client_patch.diff" # 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" +# The following is commented out due to: +# AttributeError: 'RESTResponse' object has no attribute 'headers' # OpenAPI client generator prior to 6.4.0 uses deprecated urllib3 APIs. -git apply "${SCRIPT_ROOT}/rest_urllib_headers.diff" +# git apply "${SCRIPT_ROOT}/rest_urllib_headers.diff" echo ">>> generating docs..." pushd "${DOC_ROOT}" > /dev/null