{
  "algorithm": {
    "parameters": [
      {
        "name": "opportunityId",
        "type": "string"
      },
      {
        "name": "swotMatrixId",
        "type": "string"
      },
      {
        "name": "swotMatrix",
        "type": "SwotMatrix"
      }
    ],
    "statements": [],
    "typeReturn": "obj()",
    "variables": []
  },
  "routing": {
    "method": "PATCH",
    "parameters": [
      {
        "bind": "opportunityId",
        "in": "Path",
        "name": "opportunityId",
        "remarks": "opportunityId"
      },
      {
        "bind": "swotMatrixId",
        "in": "Path",
        "name": "swotMatrixId",
        "remarks": "swotMatrixId"
      },
      {
        "bind": "swotMatrix",
        "in": "Body",
        "name": "swotMatrix",
        "remarks": "swotMatrix"
      }
    ],
    "path": "/opportunity/{opportunityId}/swotMatrix/{swotMatrixId}",
    "remarks": "swotMatrixUpdate",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "Ok"
      },
      {
        "httpStatus": "204",
        "remarks": "No Content"
      },
      {
        "errorName": "BadRequest",
        "httpStatus": "400",
        "remarks": "Bad request"
      },
      {
        "errorName": "Unauthorized",
        "httpStatus": "401",
        "remarks": "Unauthorized"
      },
      {
        "errorName": "Forbidden",
        "httpStatus": "403",
        "remarks": "Forbidden"
      },
      {
        "errorName": "InternalServerError",
        "httpStatus": "500",
        "remarks": "Error"
      }
    ]
  }
}