Sha256: 68c82cadffe6a7f088e6fc0c6ca6945fe015116ac3582420ed9ea4eb2c160e15

Contents?: true

Size: 759 Bytes

Versions: 3

Compression:

Stored size: 759 Bytes

Contents

{
  "name": "Ping",
  "request": {
    "headers": {
    },
    "http_method": "get",
    "path": "/api/ping"
  },
  "response": {
    "headers": {
      "Content-Type": "application/json"
    },
    "status": 200,
    "schema": {
      "$schema": "http://json-schema.org/draft-03/schema#",
      "description": "Generated from http://localhost:9292/api/ping with shasum 2cf3478c18e3ce877fb823ed435cb75b4a801aaa",
      "type": "object",
      "required": true,
      "properties": {
        "ping": {
          "type": "string",
          "required": true
        }
      }
    }
  },
  "examples": {
    "default": {
      "request": {
      },
      "response": {
        "body": {
          "ping": "pong - from the example!"
        }
      }
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pacto-0.4.0.rc3 samples/contracts/localhost/api/ping.json
pacto-0.4.0.rc2 samples/contracts/localhost/api/ping.json
pacto-0.4.0.rc1 samples/contracts/localhost/api/ping.json