Update The OpenAPI generator version to 7.18.0 on Windows

- the 7.18.0 has generation updates, that affect the code
generation. We already moved to 7.18.0 on Linux and MacOS CIs,
but forgot to update on Windows. See:
e5871fa6e6
Noticed the problem during the work on a 'nullable' feature,
that is not supported by 7.15.0.

Pick-to: 6.11
Change-Id: I9be758218831aae47d7cc9cb1d2dbf60795e6d27
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Tatiana Borisova
2026-05-05 20:53:31 +02:00
parent 17cca35258
commit 564ea220a3

View File

@@ -5,14 +5,14 @@
. "$PSScriptRoot\helpers.ps1" . "$PSScriptRoot\helpers.ps1"
$version = "7.15.0" $version = "7.18.0"
$temp = "$env:tmp" $temp = "$env:tmp"
Write-Host "Fetching openapi generator ver. $version..." Write-Host "Fetching openapi generator ver. $version..."
$url_cache = "http://ci-files01-hki.ci.qt.io/input/qtopenapi/openapi_client_generators/openapi-generator-cli-$version.jar" $url_cache = "http://ci-files01-hki.ci.qt.io/input/qtopenapi/openapi_client_generators/openapi-generator-cli-$version.jar"
$url_official = "https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/$version/openapi-generator-cli-$version.jar" $url_official = "https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/$version/openapi-generator-cli-$version.jar"
$target_file = "openapi-generator-cli.jar" $target_file = "openapi-generator-cli.jar"
$sha1 = "bb58e257f724fb46b7f2b309a9fa98e63fd7199f" $sha1 = "8bd615a50b15ebf5be30e612af112526a6e81ac4"
Download $url_official $url_cache "$temp\$target_file" Download $url_official $url_cache "$temp\$target_file"
Verify-Checksum "$temp\$target_file" $sha1 Verify-Checksum "$temp\$target_file" $sha1