Class MatchesJsonSchemaPattern
java.lang.Object
com.github.tomakehurst.wiremock.matching.ContentPattern<String>
com.github.tomakehurst.wiremock.matching.StringValuePattern
com.github.tomakehurst.wiremock.matching.MatchesJsonSchemaPattern
- All Implemented Interfaces:
NamedValueMatcher<String>,ValueMatcher<String>
-
Field Summary
Fields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue -
Constructor Summary
ConstructorsConstructorDescriptionMatchesJsonSchemaPattern(com.fasterxml.jackson.databind.JsonNode schemaJsonNode, WireMock.JsonSchemaVersion schemaVersion) MatchesJsonSchemaPattern(String schemaJson) MatchesJsonSchemaPattern(String schemaJson, WireMock.JsonSchemaVersion schemaVersion) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.github.tomakehurst.wiremock.matching.StringValuePattern
and, equals, getName, hashCode, isAbsent, isPresent, nullSafeIsAbsent, or, toStringMethods inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
getValue, isNullValuePermitted
-
Constructor Details
-
MatchesJsonSchemaPattern
-
MatchesJsonSchemaPattern
-
MatchesJsonSchemaPattern
public MatchesJsonSchemaPattern(com.fasterxml.jackson.databind.JsonNode schemaJsonNode, WireMock.JsonSchemaVersion schemaVersion)
-
-
Method Details
-
getMatchesJsonSchema
-
getSchemaVersion
-
getExpected
- Specified by:
getExpectedin interfaceNamedValueMatcher<String>- Overrides:
getExpectedin classStringValuePattern
-
match
-