--- /dev/null
+{
+ "consumer": {
+ "name": "UserService"
+ },
+ "interactions": [
+ {
+ "description": "a request to create a user",
+ "pending": false,
+ "providerStates": [
+ {
+ "name": "there are 10 shards"
+ },
+ {
+ "name": "the server is responsible for shard 2"
+ }
+ ],
+ "request": {
+ "headers": {
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "matchingRules": {
+ "header": {
+ "Accept": {
+ "combine": "AND",
+ "matchers": [
+ {
+ "match": "type"
+ }
+ ]
+ }
+ }
+ },
+ "method": "POST",
+ "path": "/user/create"
+ },
+ "response": {
+ "body": {
+ "content": {
+ "id": "5c73531c-6fc4-426c-adcb-afc5c140a0f7",
+ "shard": 2
+ },
+ "contentType": "application/json",
+ "encoded": false
+ },
+ "headers": {
+ "Content-Type": [
+ "application/json"
+ ]
+ },
+ "status": 200
+ },
+ "type": "Synchronous/HTTP"
+ }
+ ],
+ "metadata": {
+ "pact-js": {
+ "version": "16.0.0"
+ },
+ "pactRust": {
+ "ffi": "0.4.28",
+ "models": "1.3.5"
+ },
+ "pactSpecification": {
+ "version": "4.0"
+ }
+ },
+ "provider": {
+ "name": "ChatBackendController"
+ }
+}
\ No newline at end of file