mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-22 01:20:14 +01:00
Updated Request Matching GraphQLMatcher (markdown)
@@ -69,7 +69,7 @@ server
|
||||
.WithPath("/graphql")
|
||||
.UsingPost()
|
||||
.WithGraphQLSchema(TestSchemaQueryStudentById)
|
||||
.WithBody(new WildcardMatcher("\"sid\": \"1\""))
|
||||
.WithBody(new JsonPartialWildcardMatcher("{ \"variables\": { \"sid\": \"1\" } }"))
|
||||
)
|
||||
.WithTitle("Student found")
|
||||
.RespondWith(Response.Create()
|
||||
|
||||
Reference in New Issue
Block a user