Skip to content

Commit 7c7555c

Browse files
committed
update
1 parent e01fd74 commit 7c7555c

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

modules/openapi-generator/src/main/resources/python/api_client.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ class ApiClient:
336336
return ApiResponse(
337337
status_code = response_data.status,
338338
data = return_data,
339-
headers = response_data.getheader(),
339+
headers = response_data.getheaders(),
340340
raw_data = response_data.data
341341
)
342342

samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def response_deserialize(
329329
return ApiResponse(
330330
status_code = response_data.status,
331331
data = return_data,
332-
headers = response_data.getheader(),
332+
headers = response_data.getheaders(),
333333
raw_data = response_data.data
334334
)
335335

samples/client/echo_api/python/openapi_client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def response_deserialize(
329329
return ApiResponse(
330330
status_code = response_data.status,
331331
data = return_data,
332-
headers = response_data.getheader(),
332+
headers = response_data.getheaders(),
333333
raw_data = response_data.data
334334
)
335335

samples/openapi3/client/petstore/python-aiohttp/petstore_api/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def response_deserialize(
331331
return ApiResponse(
332332
status_code = response_data.status,
333333
data = return_data,
334-
headers = response_data.getheader(),
334+
headers = response_data.getheaders(),
335335
raw_data = response_data.data
336336
)
337337

samples/openapi3/client/petstore/python-httpx/petstore_api/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def response_deserialize(
331331
return ApiResponse(
332332
status_code = response_data.status,
333333
data = return_data,
334-
headers = response_data.getheader(),
334+
headers = response_data.getheaders(),
335335
raw_data = response_data.data
336336
)
337337

samples/openapi3/client/petstore/python-lazyImports/petstore_api/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def response_deserialize(
328328
return ApiResponse(
329329
status_code = response_data.status,
330330
data = return_data,
331-
headers = response_data.getheader(),
331+
headers = response_data.getheaders(),
332332
raw_data = response_data.data
333333
)
334334

samples/openapi3/client/petstore/python/petstore_api/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def response_deserialize(
328328
return ApiResponse(
329329
status_code = response_data.status,
330330
data = return_data,
331-
headers = response_data.getheader(),
331+
headers = response_data.getheaders(),
332332
raw_data = response_data.data
333333
)
334334

0 commit comments

Comments
 (0)