Skip to content

Commit cc0b8ba

Browse files
stackit-pipelinerenovate-botcgoetz-inovex
authored
chore(deps): update dependency openapitools/openapi-generator to v7.19.0 (#221)
* chore(deps): update dependency openapitools/openapi-generator to v7.19.0 * 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 --------- Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com> Co-authored-by: Carlo Goetz <carlo.goetz@inovex.de>
1 parent 193de94 commit cc0b8ba

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

languages/python/templates/api.mustache

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class {{classname}}:
3535
@validate_call
3636
{{#asyncio}}async {{/asyncio}}def {{operationId}}{{>partial_api_args}} -> {{{returnType}}}{{^returnType}}None{{/returnType}}:
3737
{{>partial_api}}
38+
3839
response_data = {{#asyncio}}await {{/asyncio}}self.api_client.call_api(
3940
*_param,
4041
_request_timeout=_request_timeout
@@ -49,6 +50,7 @@ class {{classname}}:
4950
@validate_call
5051
{{#asyncio}}async {{/asyncio}}def {{operationId}}_with_http_info{{>partial_api_args}} -> ApiResponse[{{{returnType}}}{{^returnType}}None{{/returnType}}]:
5152
{{>partial_api}}
53+
5254
response_data = {{#asyncio}}await {{/asyncio}}self.api_client.call_api(
5355
*_param,
5456
_request_timeout=_request_timeout
@@ -63,6 +65,7 @@ class {{classname}}:
6365
@validate_call
6466
{{#asyncio}}async {{/asyncio}}def {{operationId}}_without_preload_content{{>partial_api_args}} -> RESTResponseType:
6567
{{>partial_api}}
68+
6669
response_data = {{#asyncio}}await {{/asyncio}}self.api_client.call_api(
6770
*_param,
6871
_request_timeout=_request_timeout

scripts/generate-sdk/generate-sdk.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ go)
6060
python)
6161
# When the GENERATOR_VERSION changes, migrate also the templates in templates/python
6262
# Renovate: datasource=github-tags depName=OpenAPITools/openapi-generator versioning=semver
63-
GENERATOR_VERSION="v7.14.0"
63+
GENERATOR_VERSION="v7.19.0"
6464
;;
6565
java)
6666
# When the GENERATOR_VERSION changes, migrate also the templates in templates/java
6767
# Renovate: datasource=github-tags depName=OpenAPITools/openapi-generator versioning=semver
68-
GENERATOR_VERSION="v7.15.0"
68+
GENERATOR_VERSION="v7.19.0"
6969
;;
7070
*)
7171
echo "SDK language not supported."

0 commit comments

Comments
 (0)