Trait pact_models::verify_json::PactJsonVerifier [−][src]
pub trait PactJsonVerifier { fn verify_json(
path: &str,
pact_json: &Value,
strict: bool
) -> Vec<PactFileVerificationResult>; }
Expand description
Trait for Pact JSON file format verifiers
Required methods
fn verify_json(
path: &str,
pact_json: &Value,
strict: bool
) -> Vec<PactFileVerificationResult>
fn verify_json(
path: &str,
pact_json: &Value,
strict: bool
) -> Vec<PactFileVerificationResult>
Verify the JSON format. Will return an error if the list contains any Error result