Skip to content

Bump Submodule/github/rest-api-description from 23d16a0 to 9110306 #127

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

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
8 changes: 8 additions & 0 deletions Sources/code-security/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,10 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/code-security-configuration/dependabot_security_updates`.
public var dependabotSecurityUpdates: Components.Schemas.CodeSecurityConfiguration.DependabotSecurityUpdatesPayload?
/// Feature options for code scanning
///
/// - Remark: Generated from `#/components/schemas/code-security-configuration/code_scanning_options`.
public var codeScanningOptions: OpenAPIRuntime.OpenAPIObjectContainer?
/// The enablement status of code scanning default setup
///
/// - Remark: Generated from `#/components/schemas/code-security-configuration/code_scanning_default_setup`.
Expand Down Expand Up @@ -1293,6 +1297,7 @@ public enum Components {
/// - dependencyGraphAutosubmitActionOptions: Feature options for Automatic dependency submission
/// - dependabotAlerts: The enablement status of Dependabot alerts
/// - dependabotSecurityUpdates: The enablement status of Dependabot security updates
/// - codeScanningOptions: Feature options for code scanning
/// - codeScanningDefaultSetup: The enablement status of code scanning default setup
/// - codeScanningDefaultSetupOptions: Feature options for code scanning default setup
/// - codeScanningDelegatedAlertDismissal: The enablement status of code scanning delegated alert dismissal
Expand Down Expand Up @@ -1321,6 +1326,7 @@ public enum Components {
dependencyGraphAutosubmitActionOptions: Components.Schemas.CodeSecurityConfiguration.DependencyGraphAutosubmitActionOptionsPayload? = nil,
dependabotAlerts: Components.Schemas.CodeSecurityConfiguration.DependabotAlertsPayload? = nil,
dependabotSecurityUpdates: Components.Schemas.CodeSecurityConfiguration.DependabotSecurityUpdatesPayload? = nil,
codeScanningOptions: OpenAPIRuntime.OpenAPIObjectContainer? = nil,
codeScanningDefaultSetup: Components.Schemas.CodeSecurityConfiguration.CodeScanningDefaultSetupPayload? = nil,
codeScanningDefaultSetupOptions: Components.Schemas.CodeSecurityConfiguration.CodeScanningDefaultSetupOptionsPayload? = nil,
codeScanningDelegatedAlertDismissal: Components.Schemas.CodeSecurityConfiguration.CodeScanningDelegatedAlertDismissalPayload? = nil,
Expand Down Expand Up @@ -1349,6 +1355,7 @@ public enum Components {
self.dependencyGraphAutosubmitActionOptions = dependencyGraphAutosubmitActionOptions
self.dependabotAlerts = dependabotAlerts
self.dependabotSecurityUpdates = dependabotSecurityUpdates
self.codeScanningOptions = codeScanningOptions
self.codeScanningDefaultSetup = codeScanningDefaultSetup
self.codeScanningDefaultSetupOptions = codeScanningDefaultSetupOptions
self.codeScanningDelegatedAlertDismissal = codeScanningDelegatedAlertDismissal
Expand Down Expand Up @@ -1378,6 +1385,7 @@ public enum Components {
case dependencyGraphAutosubmitActionOptions = "dependency_graph_autosubmit_action_options"
case dependabotAlerts = "dependabot_alerts"
case dependabotSecurityUpdates = "dependabot_security_updates"
case codeScanningOptions = "code_scanning_options"
case codeScanningDefaultSetup = "code_scanning_default_setup"
case codeScanningDefaultSetupOptions = "code_scanning_default_setup_options"
case codeScanningDelegatedAlertDismissal = "code_scanning_delegated_alert_dismissal"
Expand Down
1 change: 1 addition & 0 deletions Sources/rate-limit/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public struct Client: APIProtocol {
/// * The `graphql` object provides your rate limit status for the GraphQL API. For more information, see "[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit)."
/// * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)."
/// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
/// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
Expand Down
9 changes: 9 additions & 0 deletions Sources/rate-limit/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public protocol APIProtocol: Sendable {
/// * The `graphql` object provides your rate limit status for the GraphQL API. For more information, see "[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit)."
/// * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)."
/// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
/// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
Expand All @@ -49,6 +50,7 @@ extension APIProtocol {
/// * The `graphql` object provides your rate limit status for the GraphQL API. For more information, see "[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit)."
/// * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)."
/// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
/// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
Expand Down Expand Up @@ -184,6 +186,8 @@ public enum Components {
public var scim: Components.Schemas.RateLimit?
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/dependency_snapshots`.
public var dependencySnapshots: Components.Schemas.RateLimit?
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/dependency_sbom`.
public var dependencySbom: Components.Schemas.RateLimit?
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/code_scanning_autofix`.
public var codeScanningAutofix: Components.Schemas.RateLimit?
/// Creates a new `ResourcesPayload`.
Expand All @@ -199,6 +203,7 @@ public enum Components {
/// - actionsRunnerRegistration:
/// - scim:
/// - dependencySnapshots:
/// - dependencySbom:
/// - codeScanningAutofix:
public init(
core: Components.Schemas.RateLimit,
Expand All @@ -211,6 +216,7 @@ public enum Components {
actionsRunnerRegistration: Components.Schemas.RateLimit? = nil,
scim: Components.Schemas.RateLimit? = nil,
dependencySnapshots: Components.Schemas.RateLimit? = nil,
dependencySbom: Components.Schemas.RateLimit? = nil,
codeScanningAutofix: Components.Schemas.RateLimit? = nil
) {
self.core = core
Expand All @@ -223,6 +229,7 @@ public enum Components {
self.actionsRunnerRegistration = actionsRunnerRegistration
self.scim = scim
self.dependencySnapshots = dependencySnapshots
self.dependencySbom = dependencySbom
self.codeScanningAutofix = codeScanningAutofix
}
public enum CodingKeys: String, CodingKey {
Expand All @@ -236,6 +243,7 @@ public enum Components {
case actionsRunnerRegistration = "actions_runner_registration"
case scim
case dependencySnapshots = "dependency_snapshots"
case dependencySbom = "dependency_sbom"
case codeScanningAutofix = "code_scanning_autofix"
}
}
Expand Down Expand Up @@ -325,6 +333,7 @@ public enum Operations {
/// * The `graphql` object provides your rate limit status for the GraphQL API. For more information, see "[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit)."
/// * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)."
/// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
/// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
Expand Down
2 changes: 1 addition & 1 deletion Submodule/github/rest-api-description