mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
Bumping coverage
checking all the corners for cobwebs
This commit is contained in:
@@ -122,8 +122,6 @@ func (sp *SchemaProxy) Hash() [32]byte {
|
||||
if !sp.isReference {
|
||||
return sp.rendered.Hash()
|
||||
}
|
||||
// we only hash inline schemas
|
||||
return sha256.Sum256([]byte(sp.referenceLookup))
|
||||
} else {
|
||||
if !sp.isReference {
|
||||
// only resolve this proxy if it's not a ref.
|
||||
|
||||
Reference in New Issue
Block a user