Created
September 17, 2023 09:38
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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