Skip to content

Commit

Permalink
Merge pull request #745 from microsoftgraph/fix/unpin-hidi
Browse files Browse the repository at this point in the history
chore: Unpin Hidi version
  • Loading branch information
baywet authored Jan 2, 2025
2 parents b52cea8 + 5fce3ba commit cef45d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/run-metadata-validation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions scripts/run-openapi-validation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
& dotnet tool install --global Microsoft.OpenApi.Hidi
& hidi validate -d $yaml

0 comments on commit cef45d3

Please sign in to comment.