diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fc4174d..73458f0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -130,7 +130,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java-version: ["11", "17", "21"] + java-version: ["17", "21", "25"] steps: - name: Install SSH Key uses: shimataro/ssh-key-action@v2 diff --git a/languages/python/templates/api.mustache b/languages/python/templates/api.mustache index a2dfaa1..e8c7097 100644 --- a/languages/python/templates/api.mustache +++ b/languages/python/templates/api.mustache @@ -35,7 +35,6 @@ 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 @@ -50,7 +49,6 @@ 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 @@ -65,7 +63,6 @@ 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 diff --git a/scripts/generate-sdk/generate-sdk.sh b/scripts/generate-sdk/generate-sdk.sh index b65c1be..96d579c 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.19.0" + GENERATOR_VERSION="v7.14.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.19.0" + GENERATOR_VERSION="v7.15.0" ;; *) echo "SDK language not supported."