mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-05-27 10:19:15 +02:00
Updated Request Matching (markdown)
+4
-1
@@ -93,6 +93,7 @@ At this moment these matchers are supported:
|
|||||||
* [ExactMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#exact-matcher-exactmatcher)
|
* [ExactMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#exact-matcher-exactmatcher)
|
||||||
* [LinqMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#dynamic-linq-linqmatcher)
|
* [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)
|
* [CSharpCodeMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#csharp-code-csharpcodematcher)
|
||||||
|
* [GraphQLMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#graphql-schema-GraphQLMatcher)
|
||||||
* [JsonMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching-JsonMatcher)
|
* [JsonMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching-JsonMatcher)
|
||||||
* [JsonPartialMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching-JsonPartialMatcher)
|
* [JsonPartialMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching-JsonPartialMatcher)
|
||||||
* [JsonPartialWildcardMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching-JsonPartialWildcardMatcher)
|
* [JsonPartialWildcardMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching-JsonPartialWildcardMatcher)
|
||||||
@@ -204,7 +205,6 @@ server
|
|||||||
* Note that this functionality will only work if enabled in the settings (`AllowCSharpCodeMatcher = true`).
|
* Note that this functionality will only work if enabled in the settings (`AllowCSharpCodeMatcher = true`).
|
||||||
* The argument-name from the string or JObject to match will be `it`.
|
* The argument-name from the string or JObject to match will be `it`.
|
||||||
|
|
||||||
|
|
||||||
#### C# option
|
#### C# option
|
||||||
```csharp
|
```csharp
|
||||||
var server = WireMockServer.Start();
|
var server = WireMockServer.Start();
|
||||||
@@ -249,6 +249,9 @@ server
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## GraphQL Schema (GraphQLMatcher)
|
||||||
|
This matcher
|
||||||
|
|
||||||
### Jmes Path (JmesPathMatcher)
|
### Jmes Path (JmesPathMatcher)
|
||||||
The JMESPath language is described in an ABNF grammar with a complete specification.
|
The JMESPath language is described in an ABNF grammar with a complete specification.
|
||||||
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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user