{
  "caseId": "yaml-optional-root",
  "diagnosis": {
    "version": "3.0.3",
    "canRepair": true,
    "issues": [
      {
        "ruleId": "aws.rootSecurityIgnored",
        "severity": "warning",
        "title": "Root security is ignored by API Gateway",
        "path": "/security",
        "fixable": false
      },
      {
        "ruleId": "aws.operationSecurityMissing",
        "severity": "warning",
        "title": "Inherited security is not explicit",
        "path": "/paths/~1items/get/security",
        "fixable": true
      }
    ]
  },
  "preview": {
    "available": true,
    "patches": [
      {
        "path": "/paths/~1items/get/security",
        "after": [
          {
            "SampleKey": []
          },
          {}
        ]
      }
    ],
    "after": {
      "version": "3.0.3",
      "canRepair": false,
      "issues": []
    },
    "outputFile": "cases/yaml-optional-root.preview.yaml"
  },
  "preservation": "Exactly one GET copy preserves the anonymous alternative in root and operation."
}
