Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Submodule/github/rest-api-description from 9272e44 to 2a8a2c6 #65

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions Sources/code-security/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1241,9 +1241,11 @@ public enum Components {
case attached = "attached"
case attaching = "attaching"
case detached = "detached"
case removed = "removed"
case enforced = "enforced"
case failed = "failed"
case updating = "updating"
case removed_by_enterprise = "removed_by_enterprise"
}
/// The attachment status of the code security configuration on the repository.
///
Expand Down Expand Up @@ -1858,14 +1860,14 @@ public enum Operations {
///
/// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/private_vulnerability_reporting`.
public var private_vulnerability_reporting: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.private_vulnerability_reportingPayload?
/// The status of enforcement
/// The enforcement status for a security configuration
///
/// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/enforcement`.
@frozen public enum enforcementPayload: String, Codable, Hashable, Sendable {
case enforced = "enforced"
case unenforced = "unenforced"
}
/// The status of enforcement
/// The enforcement status for a security configuration
///
/// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/enforcement`.
public var enforcement: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.enforcementPayload?
Expand All @@ -1883,7 +1885,7 @@ public enum Operations {
/// - secret_scanning_push_protection: The enablement status of secret scanning push protection
/// - secret_scanning_validity_checks: The enablement status of secret scanning validity checks
/// - private_vulnerability_reporting: The enablement status of private vulnerability reporting
/// - enforcement: The status of enforcement
/// - enforcement: The enforcement status for a security configuration
public init(
name: Swift.String,
description: Swift.String,
Expand Down Expand Up @@ -2924,14 +2926,14 @@ public enum Operations {
///
/// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/private_vulnerability_reporting`.
public var private_vulnerability_reporting: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.private_vulnerability_reportingPayload?
/// The status of enforcement
/// The enforcement status for a security configuration
///
/// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/enforcement`.
@frozen public enum enforcementPayload: String, Codable, Hashable, Sendable {
case enforced = "enforced"
case unenforced = "unenforced"
}
/// The status of enforcement
/// The enforcement status for a security configuration
///
/// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/enforcement`.
public var enforcement: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.enforcementPayload?
Expand All @@ -2949,7 +2951,7 @@ public enum Operations {
/// - secret_scanning_push_protection: The enablement status of secret scanning push protection
/// - secret_scanning_validity_checks: The enablement status of secret scanning validity checks
/// - private_vulnerability_reporting: The enablement status of private vulnerability reporting
/// - enforcement: The status of enforcement
/// - enforcement: The enforcement status for a security configuration
public init(
name: Swift.String? = nil,
description: Swift.String? = nil,
Expand Down Expand Up @@ -3898,7 +3900,7 @@ public enum Operations {
public var after: Components.Parameters.pagination_hyphen_after?
/// A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned.
///
/// Can be: `all`, `attached`, `attaching`, `detached`, `enforced`, `failed`, `updating`
/// Can be: `all`, `attached`, `attaching`, `detached`, `removed`, `enforced`, `failed`, `updating`, `removed_by_enterprise`
///
/// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/repositories/GET/query/status`.
public var status: Swift.String?
Expand Down
12 changes: 9 additions & 3 deletions Sources/issues/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6292,6 +6292,8 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/label`.
public struct label: Codable, Hashable, Sendable {
/// Unique identifier for the label.
///
/// - Remark: Generated from `#/components/schemas/label/id`.
public var id: Swift.Int64
/// - Remark: Generated from `#/components/schemas/label/node_id`.
Expand All @@ -6304,24 +6306,28 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/label/name`.
public var name: Swift.String
/// Optional description of the label, such as its purpose.
///
/// - Remark: Generated from `#/components/schemas/label/description`.
public var description: Swift.String?
/// 6-character hex code, without the leading #, identifying the color
///
/// - Remark: Generated from `#/components/schemas/label/color`.
public var color: Swift.String
/// Whether this label comes by default in a new repository.
///
/// - Remark: Generated from `#/components/schemas/label/default`.
public var _default: Swift.Bool
/// Creates a new `label`.
///
/// - Parameters:
/// - id:
/// - id: Unique identifier for the label.
/// - node_id:
/// - url: URL for the label
/// - name: The name of the label.
/// - description:
/// - description: Optional description of the label, such as its purpose.
/// - color: 6-character hex code, without the leading #, identifying the color
/// - _default:
/// - _default: Whether this label comes by default in a new repository.
public init(
id: Swift.Int64,
node_id: Swift.String,
Expand Down
2 changes: 1 addition & 1 deletion Sources/orgs/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6729,7 +6729,7 @@ public struct Client: APIProtocol {
/// Enable or disable a security feature for an organization
///
/// > [!WARNING]
/// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
///
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
///
Expand Down
6 changes: 3 additions & 3 deletions Sources/orgs/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ public protocol APIProtocol: Sendable {
/// Enable or disable a security feature for an organization
///
/// > [!WARNING]
/// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
///
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
///
Expand Down Expand Up @@ -1960,7 +1960,7 @@ extension APIProtocol {
/// Enable or disable a security feature for an organization
///
/// > [!WARNING]
/// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
///
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
///
Expand Down Expand Up @@ -20370,7 +20370,7 @@ public enum Operations {
/// Enable or disable a security feature for an organization
///
/// > [!WARNING]
/// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
///
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
///
Expand Down
Loading