Skip to main content

compare_http_contracts

Function compare_http_contracts 

Source
pub fn compare_http_contracts(
    before: &[HttpBoundary],
    after: &[HttpBoundary],
) -> CompatibilityReport
Expand description

Compares the currently modeled HTTP endpoint, method, and boundary-role inventory.

This comparator never treats boundary-only extraction as proof of request or response schema compatibility. Duplicate operations are incomparable, incomplete operations are unknown, exact removals are breaking, and uniquely attributable path or method changes are potentially breaking.