Skip to main content

diff

Function diff 

Source
pub fn diff(old: &Value, new: &Value) -> Vec<Change>
Expand description

Compare two generated tool manifests, oldest first.

A tool’s arguments flow inward and its result flows outward, so the two schemas are compared in opposite directions — the same asymmetry OpenAPI has between a request body and a response.