Trait pact_models::verify_json::PactJsonVerifier
source · [−]pub trait PactJsonVerifier {
fn verify_json(
path: &str,
pact_json: &Value,
strict: bool,
spec_version: PactSpecification
) -> Vec<PactFileVerificationResult>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
}
Expand description
Trait for Pact JSON file format verifiers
Required methods
fn verify_json(
path: &str,
pact_json: &Value,
strict: bool,
spec_version: PactSpecification
) -> Vec<PactFileVerificationResult>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn verify_json(
path: &str,
pact_json: &Value,
strict: bool,
spec_version: PactSpecification
) -> Vec<PactFileVerificationResult>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Verify the JSON format. Will return an error if the list contains any Error result