Sha256: a03e228953d9c37b3dbcf7341edded35fd0c94f1f0b698038d5d914634005b0b

Contents?: true

Size: 512 Bytes

Versions: 2

Compression:

Stored size: 512 Bytes

Contents

{
  "name": "Simple Contract",
  "request": {
    "http_method": "GET",
    "path": "/api/hello",
    "headers": {
      "Accept": "application/json"
    },
    "params": {}
  },

  "response": {
    "status": 200,
    "headers": { "Content-Type": "application/json", "Vary": "Accept" },
    "schema": {
      "$schema": "http://json-schema.org/draft-03/schema#",
      "type": "object",
      "required": true,
      "properties": {
        "message": { "type": "string", "required": true }
      }
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pacto-0.4.0.rc3 spec/fixtures/contracts/legacy/simple_contract.json
pacto-0.4.0.rc2 spec/fixtures/contracts/legacy/simple_contract.json