Skip to content

Commit 1deb74a

Browse files
committed
chore: reverts #722
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
1 parent d2c0c6e commit 1deb74a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

scripts/run-metadata-validation.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ try {
4141
& $transformScript -xslPath $xsltPath -inputPath $snapshot -outputPath $transformed -addInnerErrorDescription $true -removeCapabilityAnnotations $false -csdlVersion $version
4242

4343
Write-Host "Validating $transformed metadata after the transform..." -ForegroundColor Green
44-
# pin the hidi version till odata to openApi conversion supports 2.0
45-
& dotnet tool install --global Microsoft.OpenApi.Hidi --version 1.4.14
44+
& dotnet tool install --global Microsoft.OpenApi.Hidi
4645
& hidi transform --cs $transformed -o $yamlFilePath --co -f Yaml --sp "$conversionSettingsDirectory/$platformName.json"
4746

4847
} catch {

scripts/run-openapi-validation.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@ $yaml = Join-Path $repoDirectory "openapi" $version "$platformName.yaml"
3636

3737
Write-Host "Validating $yaml OpenAPI doc..." -ForegroundColor Green
3838

39-
# pin the hidi version till odata to openApi conversion supports 2.0
40-
& dotnet tool install --global Microsoft.OpenApi.Hidi --version 1.4.14
39+
& dotnet tool install --global Microsoft.OpenApi.Hidi
4140
& hidi validate -d $yaml

0 commit comments

Comments
 (0)