Skip to content

Commit 296cacf

Browse files
Commit via running ake Sources/code-scanning
1 parent b106958 commit 296cacf

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Sources/code-scanning/Types.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,10 +1601,6 @@ public enum Components {
16011601
///
16021602
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-rule-summary/name`.
16031603
public var name: Swift.String?
1604-
/// A set of tags applicable for the rule.
1605-
///
1606-
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-rule-summary/tags`.
1607-
public var tags: [Swift.String]?
16081604
/// The severity of the alert.
16091605
///
16101606
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-rule-summary/severity`.
@@ -1635,37 +1631,41 @@ public enum Components {
16351631
///
16361632
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-rule-summary/description`.
16371633
public var description: Swift.String?
1634+
/// A set of tags applicable for the rule.
1635+
///
1636+
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-rule-summary/tags`.
1637+
public var tags: [Swift.String]?
16381638
/// Creates a new `code_hyphen_scanning_hyphen_alert_hyphen_rule_hyphen_summary`.
16391639
///
16401640
/// - Parameters:
16411641
/// - id: A unique identifier for the rule used to detect the alert.
16421642
/// - name: The name of the rule used to detect the alert.
1643-
/// - tags: A set of tags applicable for the rule.
16441643
/// - severity: The severity of the alert.
16451644
/// - security_severity_level: The security severity of the alert.
16461645
/// - description: A short description of the rule used to detect the alert.
1646+
/// - tags: A set of tags applicable for the rule.
16471647
public init(
16481648
id: Swift.String? = nil,
16491649
name: Swift.String? = nil,
1650-
tags: [Swift.String]? = nil,
16511650
severity: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_rule_hyphen_summary.severityPayload? = nil,
16521651
security_severity_level: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_rule_hyphen_summary.security_severity_levelPayload? = nil,
1653-
description: Swift.String? = nil
1652+
description: Swift.String? = nil,
1653+
tags: [Swift.String]? = nil
16541654
) {
16551655
self.id = id
16561656
self.name = name
1657-
self.tags = tags
16581657
self.severity = severity
16591658
self.security_severity_level = security_severity_level
16601659
self.description = description
1660+
self.tags = tags
16611661
}
16621662
public enum CodingKeys: String, CodingKey {
16631663
case id
16641664
case name
1665-
case tags
16661665
case severity
16671666
case security_severity_level
16681667
case description
1668+
case tags
16691669
}
16701670
}
16711671
/// The version of the tool used to generate the code scanning analysis.

0 commit comments

Comments
 (0)