kinlane
9/22/2015 - 11:16 PM

x-amples extension

x-amples extension

"/pets/{id}": {
  "get": {
  ...
  "x-amples": [
    {
      "request": {
        "params": {
          "id": "fido4"
        }
      },
      "response": {
        "status": 200,
        "headers": {
          "content-type": "application/json"
        }
      }
    }
  ]
}