Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error validating OpenAPI using hidi preview #2029

Closed
darrelmiller opened this issue Dec 24, 2024 · 1 comment · Fixed by #2076
Closed

Error validating OpenAPI using hidi preview #2029

darrelmiller opened this issue Dec 24, 2024 · 1 comment · Fixed by #2076
Assignees
Milestone

Comments

@darrelmiller
Copy link
Member

darrelmiller commented Dec 24, 2024

Hidi version: 2.0.0-preview3+249ff45503c26a38cdf72fdc4972030ae4756e55

dotnet tool install -g Microsoft.openapi.hidi --prerelease

hidi validate -d https://raw.githubusercontent.com/github/rest-api-description/refs/heads/main/descriptions/api.github.com/api.github.com.yaml

This command gives the error:

crit: Microsoft.OpenApi.Hidi.Handlers.ValidateCommandHandler[0]
      Could not validate the document, reason: Object reference not set to an instance of an object.
@MaggieKimani1
Copy link
Contributor

This is now fixed in v2-preview5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants