#[no_mangle]
pub extern "C" fn pactffi_with_specification(
    pact: PactHandle,
    version: PactSpecification
) -> bool
Expand description

Sets the specification version for a given Pact model. Returns false if the interaction or Pact can’t be modified (i.e. the mock server for it has already started) or the version is invalid.

  • pact - Handle to a Pact model
  • version - the spec version to use