Skip to content

Instantly share code, notes, and snippets.

@ShigeoTejima
Created September 17, 2023 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShigeoTejima/48588c30a2fe93887d31944bafe2b062 to your computer and use it in GitHub Desktop.
Save ShigeoTejima/48588c30a2fe93887d31944bafe2b062 to your computer and use it in GitHub Desktop.
example for wiremock stub json file when use wiremock-graphql-extension v0.6.2
{
"request": {
"method": "POST",
"urlPath": "/foo/graphql",
"customMatcher" : {
"name" : "graphql-body-matcher",
"parameters" : {
"expectedJson" : "{ \"query\": \",query DemoQuery { demo { id name } }\" }"
}
}
},
"response": {
"status": 200
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment