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