You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hash := items.GoLow().Hash() is called, libopenapi considers !s.Default.IsEmpty() to be true, I assume bcause it is defined in the openapi file, proceeding to pass a nil value low.GenerateHashString(s.Default.Value).
Yes, this dependency should be upgraded. I've reported that very issue to libopenapi maintainer back in the day. Restish is using libopenapi v0.9.7 while latest is v0.17 already, was surprised to see that issue again in restish
@danielgtaylor can we bump this please, currently restish is not usable for my spec (and I would love to explore the possibilities it provides!)
When
hash := items.GoLow().Hash()
is called, libopenapi considers!s.Default.IsEmpty()
to be true, I assume bcause it is defined in the openapi file, proceeding to pass a nil valuelow.GenerateHashString(s.Default.Value)
.It's reproducible by adjusting
openapi/testdata
and runninggo test
.I checked the libopenapi repository and the code which is causing this issue has been changed, meaning a dependency upgrade might be in order.
Cheers.
The text was updated successfully, but these errors were encountered: