Function pact_ffi::mock_server::handles::pactffi_with_specification
source · #[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 modelversion
- the spec version to use