
raml.schemas.content-pattern.schema.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wiremock Show documentation
Show all versions of wiremock Show documentation
A web service test double for all occasions
{
"type": "object",
"oneOf": [
{
"description": "String equality",
"properties": {
"equalTo": {
"type": "string"
},
"caseInsensitive": {
"type": "boolean"
}
},
"required": [
"equalTo"
]
},
{
"description": "String contains",
"properties": {
"contains": {
"type": "string"
}
},
"required": [
"contains"
]
},
{
"description": "Regular expression match",
"properties": {
"matches": {
"type": "string"
}
},
"required": [
"matches"
]
},
{
"description": "Negative regular expression match",
"properties": {
"doesNotMatch": {
"type": "string"
}
},
"required": [
"doesNotMatch"
]
},
{
"description": "JSON equality",
"properties": {
"equalToJson": {
"type": "string"
}
},
"required": [
"equalToJson"
]
},
{
"description": "JSONPath match",
"properties": {
"matchesJsonPath": {
"type": "string"
},
"ignoreArrayOrder": {
"type": "boolean"
},
"ignoreExtraElements": {
"type": "boolean"
}
},
"required": [
"matchesJsonPath"
]
},
{
"description": "XML equality",
"properties": {
"equalToXml": {
"type": "string"
}
},
"required": [
"equalToXml"
]
},
{
"description": "XPath match",
"properties": {
"matchesXPath": {
"type": "string"
},
"namespaces": {
"type": "object"
},
"valuePattern": {
"$ref": "content-pattern.schema.json"
}
},
"required": [
"matchesXPath"
]
}
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy