Skip to content

Commit 0f908eb

Browse files
Merge pull request #127 from wei18/dependabot/submodules/Submodule/github/rest-api-description-9110306
Bump Submodule/github/rest-api-description from `23d16a0` to `9110306`
2 parents 1e86766 + 6ec1e41 commit 0f908eb

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

Sources/code-security/Types.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,10 @@ public enum Components {
10351035
///
10361036
/// - Remark: Generated from `#/components/schemas/code-security-configuration/dependabot_security_updates`.
10371037
public var dependabotSecurityUpdates: Components.Schemas.CodeSecurityConfiguration.DependabotSecurityUpdatesPayload?
1038+
/// Feature options for code scanning
1039+
///
1040+
/// - Remark: Generated from `#/components/schemas/code-security-configuration/code_scanning_options`.
1041+
public var codeScanningOptions: OpenAPIRuntime.OpenAPIObjectContainer?
10381042
/// The enablement status of code scanning default setup
10391043
///
10401044
/// - Remark: Generated from `#/components/schemas/code-security-configuration/code_scanning_default_setup`.
@@ -1293,6 +1297,7 @@ public enum Components {
12931297
/// - dependencyGraphAutosubmitActionOptions: Feature options for Automatic dependency submission
12941298
/// - dependabotAlerts: The enablement status of Dependabot alerts
12951299
/// - dependabotSecurityUpdates: The enablement status of Dependabot security updates
1300+
/// - codeScanningOptions: Feature options for code scanning
12961301
/// - codeScanningDefaultSetup: The enablement status of code scanning default setup
12971302
/// - codeScanningDefaultSetupOptions: Feature options for code scanning default setup
12981303
/// - codeScanningDelegatedAlertDismissal: The enablement status of code scanning delegated alert dismissal
@@ -1321,6 +1326,7 @@ public enum Components {
13211326
dependencyGraphAutosubmitActionOptions: Components.Schemas.CodeSecurityConfiguration.DependencyGraphAutosubmitActionOptionsPayload? = nil,
13221327
dependabotAlerts: Components.Schemas.CodeSecurityConfiguration.DependabotAlertsPayload? = nil,
13231328
dependabotSecurityUpdates: Components.Schemas.CodeSecurityConfiguration.DependabotSecurityUpdatesPayload? = nil,
1329+
codeScanningOptions: OpenAPIRuntime.OpenAPIObjectContainer? = nil,
13241330
codeScanningDefaultSetup: Components.Schemas.CodeSecurityConfiguration.CodeScanningDefaultSetupPayload? = nil,
13251331
codeScanningDefaultSetupOptions: Components.Schemas.CodeSecurityConfiguration.CodeScanningDefaultSetupOptionsPayload? = nil,
13261332
codeScanningDelegatedAlertDismissal: Components.Schemas.CodeSecurityConfiguration.CodeScanningDelegatedAlertDismissalPayload? = nil,
@@ -1349,6 +1355,7 @@ public enum Components {
13491355
self.dependencyGraphAutosubmitActionOptions = dependencyGraphAutosubmitActionOptions
13501356
self.dependabotAlerts = dependabotAlerts
13511357
self.dependabotSecurityUpdates = dependabotSecurityUpdates
1358+
self.codeScanningOptions = codeScanningOptions
13521359
self.codeScanningDefaultSetup = codeScanningDefaultSetup
13531360
self.codeScanningDefaultSetupOptions = codeScanningDefaultSetupOptions
13541361
self.codeScanningDelegatedAlertDismissal = codeScanningDelegatedAlertDismissal
@@ -1378,6 +1385,7 @@ public enum Components {
13781385
case dependencyGraphAutosubmitActionOptions = "dependency_graph_autosubmit_action_options"
13791386
case dependabotAlerts = "dependabot_alerts"
13801387
case dependabotSecurityUpdates = "dependabot_security_updates"
1388+
case codeScanningOptions = "code_scanning_options"
13811389
case codeScanningDefaultSetup = "code_scanning_default_setup"
13821390
case codeScanningDefaultSetupOptions = "code_scanning_default_setup_options"
13831391
case codeScanningDelegatedAlertDismissal = "code_scanning_delegated_alert_dismissal"

Sources/rate-limit/Client.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public struct Client: APIProtocol {
5050
/// * 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)."
5151
/// * 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)."
5252
/// * 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)."
53+
/// * 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)."
5354
/// * 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)."
5455
/// * 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)."
5556
/// * 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)."

Sources/rate-limit/Types.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public protocol APIProtocol: Sendable {
2323
/// * 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)."
2424
/// * 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)."
2525
/// * 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)."
26+
/// * 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)."
2627
/// * 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)."
2728
/// * 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)."
2829
/// * 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)."
@@ -49,6 +50,7 @@ extension APIProtocol {
4950
/// * 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)."
5051
/// * 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)."
5152
/// * 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)."
53+
/// * 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)."
5254
/// * 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)."
5355
/// * 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)."
5456
/// * 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)."
@@ -184,6 +186,8 @@ public enum Components {
184186
public var scim: Components.Schemas.RateLimit?
185187
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/dependency_snapshots`.
186188
public var dependencySnapshots: Components.Schemas.RateLimit?
189+
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/dependency_sbom`.
190+
public var dependencySbom: Components.Schemas.RateLimit?
187191
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/code_scanning_autofix`.
188192
public var codeScanningAutofix: Components.Schemas.RateLimit?
189193
/// Creates a new `ResourcesPayload`.
@@ -199,6 +203,7 @@ public enum Components {
199203
/// - actionsRunnerRegistration:
200204
/// - scim:
201205
/// - dependencySnapshots:
206+
/// - dependencySbom:
202207
/// - codeScanningAutofix:
203208
public init(
204209
core: Components.Schemas.RateLimit,
@@ -211,6 +216,7 @@ public enum Components {
211216
actionsRunnerRegistration: Components.Schemas.RateLimit? = nil,
212217
scim: Components.Schemas.RateLimit? = nil,
213218
dependencySnapshots: Components.Schemas.RateLimit? = nil,
219+
dependencySbom: Components.Schemas.RateLimit? = nil,
214220
codeScanningAutofix: Components.Schemas.RateLimit? = nil
215221
) {
216222
self.core = core
@@ -223,6 +229,7 @@ public enum Components {
223229
self.actionsRunnerRegistration = actionsRunnerRegistration
224230
self.scim = scim
225231
self.dependencySnapshots = dependencySnapshots
232+
self.dependencySbom = dependencySbom
226233
self.codeScanningAutofix = codeScanningAutofix
227234
}
228235
public enum CodingKeys: String, CodingKey {
@@ -236,6 +243,7 @@ public enum Components {
236243
case actionsRunnerRegistration = "actions_runner_registration"
237244
case scim
238245
case dependencySnapshots = "dependency_snapshots"
246+
case dependencySbom = "dependency_sbom"
239247
case codeScanningAutofix = "code_scanning_autofix"
240248
}
241249
}
@@ -325,6 +333,7 @@ public enum Operations {
325333
/// * 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)."
326334
/// * 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)."
327335
/// * 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)."
336+
/// * 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)."
328337
/// * 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)."
329338
/// * 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)."
330339
/// * 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)."

0 commit comments

Comments
 (0)