From 6f79b8e976401a666fbd3314a0feae62d3a21028 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Tue, 17 Nov 2020 17:21:15 +0100 Subject: [PATCH] Updated Request Matching (markdown) --- Request-Matching.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Request-Matching.md b/Request-Matching.md index 9e48151..f9d3ad5 100644 --- a/Request-Matching.md +++ b/Request-Matching.md @@ -16,6 +16,7 @@ At this moment these matchers are supported: * [LinqMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#dynamic-linq-linqmatcher) * [CSharpCodeMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#csharp-code-csharpcodematcher) * [JsonMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#json-jsonmatcher) +* [JsonPartialMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#json-jsonpartialmatcher) * [JsonPathMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#json-path-jsonpathmatcher) * [JmesPathMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#jmes-path-jmespathmatcher) * [XPathMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#xpathmatcher) @@ -265,7 +266,6 @@ server { "x": 42, "s": "?" } ``` - #### C# option 3 It's also possible to use set `IgnoreCase` to true, this means that the PropertNames and PropertyValues will be matced regarding any case. ```csharp @@ -317,6 +317,8 @@ server { "X": 42, "s": "S" } ``` + + ### JSON Path (JsonPathMatcher) Deems a match if the attribute value is valid JSON and matches the JSON Path expression supplied. A JSON body will be considered to match a path expression if the expression returns either a non-null single value (string, integer etc.), or a non-empty object or array.