IBM/openapi-validator

TypeError: Cannot read properties of undefined (reading 'get')

Closed this issue ยท 9 comments

Another issue with OpenApi as here.

Need to make the error more clear to be able to find the place that course the error.

image

I'll send you @dpopp07 the specification and docker run command to email to easily reproduce the error.

@Legion112 I will look into it but wanted to check something real quick - I see that you are using jamescooke/openapi-validator, which is a fork of this repo. Just letting you know in case you meant to be interacting with that repo, since there have been a lot of commits here since the fork was created

Oh.. I thought it was the official imagine. My bad.

@dpopp07 in the documentation here I see jamescooke/openapi-validator image. Maybe documentation is wrong or something?
My assumption is they are building images from the source of this repo.

@Legion112 You're correct and that is my mistake - I got the Docker image mixed up with the fork of the same name. We don't have an "official" Docker image per se, but that community-supported image is the best one to use and it seems up to date with the latest from this repository.

Sorry for the misunderstanding, I will look at this issue today.

@Legion112 I was able to reproduce the issue, looking into a fix now

Any progress on this one?

@Legion112 Yes, I found the root of the issue on Friday and should be posting a PR today with the fix.

@Legion112 PR opened here - #333

๐ŸŽ‰ This issue has been resolved in version 0.50.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€