mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-08 12:37:49 +00:00
Wiring up responses into what-changed feature
Building tests and hashing functions.
This commit is contained in:
@@ -65,6 +65,14 @@ func (r *ResponseChanges) TotalBreakingChanges() int {
|
||||
return c
|
||||
}
|
||||
|
||||
func CompareResponseV2(l, r *v2.Response) *ResponseChanges {
|
||||
return CompareResponse(l, r)
|
||||
}
|
||||
|
||||
func CompareResponseV3(l, r *v3.Response) *ResponseChanges {
|
||||
return CompareResponse(l, r)
|
||||
}
|
||||
|
||||
func CompareResponse(l, r any) *ResponseChanges {
|
||||
|
||||
var changes []*Change
|
||||
|
||||
Reference in New Issue
Block a user