pact_matching 2.0.3

Pact-Rust support library that implements request and response matching logic
Documentation
{
  "provider": {
    "name": "test_provider"
  },
  "consumer": {
    "name": "test_consumer"
  },
  "interactions": [
    {
      "type": "Synchronous/HTTP",
      "key": "001",
      "description": "test interaction with a binary body",
      "pending": false,
      "request": {
        "method": "GET",
        "path": "/"
      },
      "response": {
        "status": 200,
        "headers": {
          "Content-Type": ["image/gif"]
        },
        "body": {
          "contentType": "image/gif",
          "encoded": "base64",
          "content": "R0lGODdhAQABAIAAAP///////ywAAAAAAQABAAACAkQBADs="
        }
      }
    }
  ],
  "metadata": {
    "pactSpecification": {
      "version": "4.0"
    }
  }
}