Sha256: b49a6b807e4b5904a383bdc0761d5d5ab16001f1c2d4b4d13afc7de9210b8d85

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

{
  "name": "Simple Contract",
  "request": {
    "http_method": "GET",
    "path": "/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

1 entries across 1 versions & 1 rubygems

Version Path
pacto-0.4.0.rc1 spec/fixtures/contracts/simple_contract.json