Skip to main content

Module conformance

Module conformance 

Source
Expand description

Passive conformance validation for proxied traffic (#864).

When mockforge proxy fronts a real upstream with a spec loaded (--validate-conformance / MOCKFORGE_PROXY_VALIDATE_CONFORMANCE), every request and response crossing the proxy is validated against the spec and the findings land in the SAME mockforge_foundation::conformance_violations buffer the bench, TUI Conformance tab and admin endpoints already read — no new sink.

Observational by default: traffic always forwards untouched. With --validate-conformance-strict, request violations reject with the spec’s configured status instead of forwarding.

Structs§

ConformanceTap
A passive conformance tap over one loaded spec.