Skip to content

Commit 2c5c5c4

Browse files
Commit via running: make Sources/dependabot
1 parent 3dddf44 commit 2c5c5c4

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

Sources/dependabot/Client.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -676,15 +676,15 @@ public struct Client: APIProtocol {
676676
in: &request,
677677
style: .form,
678678
explode: true,
679-
name: "package_registry_url",
680-
value: input.query.packageRegistryUrl
679+
name: "artifact_registry_url",
680+
value: input.query.artifactRegistryUrl
681681
)
682682
try converter.setQueryItemAsURI(
683683
in: &request,
684684
style: .form,
685685
explode: true,
686-
name: "package_registry",
687-
value: input.query.packageRegistry
686+
name: "artifact_registry",
687+
value: input.query.artifactRegistry
688688
)
689689
try converter.setQueryItemAsURI(
690690
in: &request,

Sources/dependabot/Types.swift

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4312,16 +4312,16 @@ public enum Components {
43124312
///
43134313
/// - Remark: Generated from `#/components/parameters/secret-name`.
43144314
public typealias SecretName = Swift.String
4315-
/// A comma-separated list of package registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.
4315+
/// A comma-separated list of artifact registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.
43164316
///
4317-
/// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-package-registry-urls`.
4318-
public typealias DependabotAlertCommaSeparatedPackageRegistryUrls = Swift.String
4319-
/// A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.
4317+
/// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls`.
4318+
public typealias DependabotAlertCommaSeparatedArtifactRegistryUrls = Swift.String
4319+
/// A comma-separated list of Artifact Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.
43204320
///
43214321
/// Can be: `jfrog-artifactory`
43224322
///
4323-
/// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-package-registry`.
4324-
public typealias DependabotAlertCommaSeparatedPackageRegistry = Swift.String
4323+
/// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-artifact-registry`.
4324+
public typealias DependabotAlertCommaSeparatedArtifactRegistry = Swift.String
43254325
/// A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned.
43264326
///
43274327
/// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-manifests`.
@@ -5621,16 +5621,16 @@ public enum Operations {
56215621
///
56225622
/// - Remark: Generated from `#/paths/orgs/{org}/dependabot/alerts/GET/query/epss_percentage`.
56235623
public var epssPercentage: Components.Parameters.DependabotAlertCommaSeparatedEpss?
5624-
/// A comma-separated list of package registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.
5624+
/// A comma-separated list of artifact registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.
56255625
///
5626-
/// - Remark: Generated from `#/paths/orgs/{org}/dependabot/alerts/GET/query/package_registry_url`.
5627-
public var packageRegistryUrl: Components.Parameters.DependabotAlertCommaSeparatedPackageRegistryUrls?
5628-
/// A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.
5626+
/// - Remark: Generated from `#/paths/orgs/{org}/dependabot/alerts/GET/query/artifact_registry_url`.
5627+
public var artifactRegistryUrl: Components.Parameters.DependabotAlertCommaSeparatedArtifactRegistryUrls?
5628+
/// A comma-separated list of Artifact Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.
56295629
///
56305630
/// Can be: `jfrog-artifactory`
56315631
///
5632-
/// - Remark: Generated from `#/paths/orgs/{org}/dependabot/alerts/GET/query/package_registry`.
5633-
public var packageRegistry: Components.Parameters.DependabotAlertCommaSeparatedPackageRegistry?
5632+
/// - Remark: Generated from `#/paths/orgs/{org}/dependabot/alerts/GET/query/artifact_registry`.
5633+
public var artifactRegistry: Components.Parameters.DependabotAlertCommaSeparatedArtifactRegistry?
56345634
/// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-has`.
56355635
@frozen public enum DependabotAlertCommaSeparatedHas: Codable, Hashable, Sendable {
56365636
/// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-has/case1`.
@@ -5740,8 +5740,8 @@ public enum Operations {
57405740
/// - ecosystem: A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned.
57415741
/// - package: A comma-separated list of package names. If specified, only alerts for these packages will be returned.
57425742
/// - epssPercentage: CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:
5743-
/// - packageRegistryUrl: A comma-separated list of package registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.
5744-
/// - packageRegistry: A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.
5743+
/// - artifactRegistryUrl: A comma-separated list of artifact registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.
5744+
/// - artifactRegistry: A comma-separated list of Artifact Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.
57455745
/// - has: Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.
57465746
/// - scope: The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.
57475747
/// - sort: The property by which to sort the results.
@@ -5757,8 +5757,8 @@ public enum Operations {
57575757
ecosystem: Components.Parameters.DependabotAlertCommaSeparatedEcosystems? = nil,
57585758
package: Components.Parameters.DependabotAlertCommaSeparatedPackages? = nil,
57595759
epssPercentage: Components.Parameters.DependabotAlertCommaSeparatedEpss? = nil,
5760-
packageRegistryUrl: Components.Parameters.DependabotAlertCommaSeparatedPackageRegistryUrls? = nil,
5761-
packageRegistry: Components.Parameters.DependabotAlertCommaSeparatedPackageRegistry? = nil,
5760+
artifactRegistryUrl: Components.Parameters.DependabotAlertCommaSeparatedArtifactRegistryUrls? = nil,
5761+
artifactRegistry: Components.Parameters.DependabotAlertCommaSeparatedArtifactRegistry? = nil,
57625762
has: Components.Parameters.DependabotAlertCommaSeparatedHas? = nil,
57635763
scope: Components.Parameters.DependabotAlertScope? = nil,
57645764
sort: Components.Parameters.DependabotAlertSort? = nil,
@@ -5774,8 +5774,8 @@ public enum Operations {
57745774
self.ecosystem = ecosystem
57755775
self.package = package
57765776
self.epssPercentage = epssPercentage
5777-
self.packageRegistryUrl = packageRegistryUrl
5778-
self.packageRegistry = packageRegistry
5777+
self.artifactRegistryUrl = artifactRegistryUrl
5778+
self.artifactRegistry = artifactRegistry
57795779
self.has = has
57805780
self.scope = scope
57815781
self.sort = sort

0 commit comments

Comments
 (0)