Skip to content

Commit 80ee981

Browse files
Revert "chore(deps): update dependency openapitools/openapi-generator… (#223)
* Revert "chore(deps): update dependency openapitools/openapi-generator to v7.19.0 (#221)" This reverts commit cc0b8ba. * chore(ci) match JDK version matrix with the one in sdk-java
1 parent cc0b8ba commit 80ee981

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
runs-on: ubuntu-latest
131131
strategy:
132132
matrix:
133-
java-version: ["11", "17", "21"]
133+
java-version: ["17", "21", "25"]
134134
steps:
135135
- name: Install SSH Key
136136
uses: shimataro/ssh-key-action@v2

languages/python/templates/api.mustache

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class {{classname}}:
3535
@validate_call
3636
{{#asyncio}}async {{/asyncio}}def {{operationId}}{{>partial_api_args}} -> {{{returnType}}}{{^returnType}}None{{/returnType}}:
3737
{{>partial_api}}
38-
3938
response_data = {{#asyncio}}await {{/asyncio}}self.api_client.call_api(
4039
*_param,
4140
_request_timeout=_request_timeout
@@ -50,7 +49,6 @@ class {{classname}}:
5049
@validate_call
5150
{{#asyncio}}async {{/asyncio}}def {{operationId}}_with_http_info{{>partial_api_args}} -> ApiResponse[{{{returnType}}}{{^returnType}}None{{/returnType}}]:
5251
{{>partial_api}}
53-
5452
response_data = {{#asyncio}}await {{/asyncio}}self.api_client.call_api(
5553
*_param,
5654
_request_timeout=_request_timeout
@@ -65,7 +63,6 @@ class {{classname}}:
6563
@validate_call
6664
{{#asyncio}}async {{/asyncio}}def {{operationId}}_without_preload_content{{>partial_api_args}} -> RESTResponseType:
6765
{{>partial_api}}
68-
6966
response_data = {{#asyncio}}await {{/asyncio}}self.api_client.call_api(
7067
*_param,
7168
_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.19.0"
63+
GENERATOR_VERSION="v7.14.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.19.0"
68+
GENERATOR_VERSION="v7.15.0"
6969
;;
7070
*)
7171
echo "SDK language not supported."

0 commit comments

Comments
 (0)