Skip to main content

assert_no_v2_refs

Function assert_no_v2_refs 

Source
fn assert_no_v2_refs(serialized_protocol_schema: &str) -> Result<()>
Expand description

Mirrors the Python original’s final sanity assertion: every #/definitions/v2/X ref must have been rewritten to #/definitions/X before writing - a leftover match means the ref-rewrite pass missed something and the output would fail to resolve.