mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
Fixed rendering bug with .Schema() being called again.
Should have known better, almost there with accuracy now. Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
@@ -160,6 +160,8 @@ func CompareResponse(l, r any) *ResponseChanges {
|
||||
|
||||
CheckProperties(props)
|
||||
rc.Changes = changes
|
||||
if rc.TotalChanges() <= 0 {
|
||||
return nil
|
||||
}
|
||||
return rc
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user