From e6fb685e0d2f4ddc3b0f0e90c02b691b1c8085f5 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 20 Jan 2026 02:03:19 +0000 Subject: [PATCH 1/2] chore(deps): update dependency openapitools/openapi-generator to v7.19.0 --- scripts/generate-sdk/generate-sdk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate-sdk/generate-sdk.sh b/scripts/generate-sdk/generate-sdk.sh index 96d579c..b65c1be 100755 --- a/scripts/generate-sdk/generate-sdk.sh +++ b/scripts/generate-sdk/generate-sdk.sh @@ -60,12 +60,12 @@ go) python) # When the GENERATOR_VERSION changes, migrate also the templates in templates/python # Renovate: datasource=github-tags depName=OpenAPITools/openapi-generator versioning=semver - GENERATOR_VERSION="v7.14.0" + GENERATOR_VERSION="v7.19.0" ;; java) # When the GENERATOR_VERSION changes, migrate also the templates in templates/java # Renovate: datasource=github-tags depName=OpenAPITools/openapi-generator versioning=semver - GENERATOR_VERSION="v7.15.0" + GENERATOR_VERSION="v7.19.0" ;; *) echo "SDK language not supported." From 84fd45d0b0aeeaef9930d7402999e9c8b9fd8d26 Mon Sep 17 00:00:00 2001 From: Carlo Goetz Date: Wed, 21 Jan 2026 14:25:41 +0100 Subject: [PATCH 2/2] fix(py) add new line after partial_api include Otherwise formatting failed because the response_data... line started in the same line as the last char from partial_api. Compare with upstream: https://github.com/OpenAPITools/openapi-generator/blob/342febde58e655953a697320f30dd1febdf09ef5/modules/openapi-generator/src/main/resources/python/api.mustache#L36 --- languages/python/templates/api.mustache | 3 +++ 1 file changed, 3 insertions(+) diff --git a/languages/python/templates/api.mustache b/languages/python/templates/api.mustache index e8c7097..a2dfaa1 100644 --- a/languages/python/templates/api.mustache +++ b/languages/python/templates/api.mustache @@ -35,6 +35,7 @@ class {{classname}}: @validate_call {{#asyncio}}async {{/asyncio}}def {{operationId}}{{>partial_api_args}} -> {{{returnType}}}{{^returnType}}None{{/returnType}}: {{>partial_api}} + response_data = {{#asyncio}}await {{/asyncio}}self.api_client.call_api( *_param, _request_timeout=_request_timeout @@ -49,6 +50,7 @@ class {{classname}}: @validate_call {{#asyncio}}async {{/asyncio}}def {{operationId}}_with_http_info{{>partial_api_args}} -> ApiResponse[{{{returnType}}}{{^returnType}}None{{/returnType}}]: {{>partial_api}} + response_data = {{#asyncio}}await {{/asyncio}}self.api_client.call_api( *_param, _request_timeout=_request_timeout @@ -63,6 +65,7 @@ class {{classname}}: @validate_call {{#asyncio}}async {{/asyncio}}def {{operationId}}_without_preload_content{{>partial_api_args}} -> RESTResponseType: {{>partial_api}} + response_data = {{#asyncio}}await {{/asyncio}}self.api_client.call_api( *_param, _request_timeout=_request_timeout