{
  "algorithm": {
    "parameters": [
      {
        "name": "specId",
        "type": "string"
      },
      {
        "name": "specVersionId",
        "type": "string"
      }
    ],
    "statements": [],
    "typeReturn": "obj()",
    "variables": []
  },
  "routing": {
    "method": "POST",
    "parameters": [
      {
        "bind": "specId",
        "in": "Path",
        "name": "specId",
        "remarks": "specification Id"
      },
      {
        "bind": "specVersionId",
        "in": "Path",
        "name": "specVersionId",
        "remarks": "specification version Id"
      }
    ],
    "path": "/specifications/{specId}/versions/{specVersionId}/setAsCurrent",
    "remarks": "Activate the specification version as the current version of specification",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "errorName": "NotFound",
        "httpStatus": "404",
        "remarks": "not found"
      },
      {
        "errorName": "InternalServerError",
        "httpStatus": "500",
        "remarks": "Error"
      }
    ]
  }
}