{
  "algorithm": {
    "parameters": [
      {
        "name": "specId",
        "type": "string"
      },
      {
        "name": "data",
        "type": "Specification"
      }
    ],
    "statements": [],
    "typeReturn": "Specification",
    "variables": []
  },
  "routing": {
    "method": "PUT",
    "parameters": [
      {
        "bind": "specId",
        "in": "Path",
        "name": "specId",
        "remarks": "specification Id"
      },
      {
        "bind": "data",
        "in": "Body",
        "name": "data"
      }
    ],
    "path": "/specifications/{specId}",
    "remarks": "Update the specification information",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "errorName": "NotFound",
        "httpStatus": "404",
        "remarks": "Not found"
      }
    ]
  }
}