From d901d36cc6a1b7a89053c42ab199da8edc35aa8e Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Thu, 2 Jan 2025 11:41:43 +0300 Subject: [PATCH 1/2] Unpin Hidi version --- scripts/run-metadata-validation.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-metadata-validation.ps1 b/scripts/run-metadata-validation.ps1 index 916a2b45..0268636c 100644 --- a/scripts/run-metadata-validation.ps1 +++ b/scripts/run-metadata-validation.ps1 @@ -42,7 +42,7 @@ try { Write-Host "Validating $transformed metadata after the transform..." -ForegroundColor Green # pin the hidi version till odata to openApi conversion supports 2.0 - & dotnet tool install --global Microsoft.OpenApi.Hidi --version 1.4.14 + & dotnet tool install --global Microsoft.OpenApi.Hidi & hidi transform --cs $transformed -o $yamlFilePath --co -f Yaml --sp "$conversionSettingsDirectory/$platformName.json" } catch { From 5fce3ba21b50411e76035befb0b4b96199091701 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Thu, 2 Jan 2025 11:42:09 +0300 Subject: [PATCH 2/2] Unpin Hidi version --- scripts/run-openapi-validation.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run-openapi-validation.ps1 b/scripts/run-openapi-validation.ps1 index 1350e212..a50fd108 100644 --- a/scripts/run-openapi-validation.ps1 +++ b/scripts/run-openapi-validation.ps1 @@ -37,5 +37,5 @@ $yaml = Join-Path $repoDirectory "openapi" $version "$platformName.yaml" Write-Host "Validating $yaml OpenAPI doc..." -ForegroundColor Green # pin the hidi version till odata to openApi conversion supports 2.0 -& dotnet tool install --global Microsoft.OpenApi.Hidi --version 1.4.14 -& hidi validate -d $yaml \ No newline at end of file +& dotnet tool install --global Microsoft.OpenApi.Hidi +& hidi validate -d $yaml