Skip to content

Commit 439a391

Browse files
Merge pull request #138 from wei18/dependabot/submodules/Submodule/github/rest-api-description-30ab35c
Bump Submodule/github/rest-api-description from `7187214` to `30ab35c`
2 parents f4b2a6e + 910a1a8 commit 439a391

File tree

7 files changed

+4507
-4467
lines changed

7 files changed

+4507
-4467
lines changed

Sources/actions/Client.swift

Lines changed: 1137 additions & 1137 deletions
Large diffs are not rendered by default.

Sources/actions/Types.swift

Lines changed: 3302 additions & 3302 deletions
Large diffs are not rendered by default.

Sources/code-security/Types.swift

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,7 @@ public enum Components {
19791979
///
19801980
/// - Remark: Generated from `#/components/parameters/pagination-after`.
19811981
public typealias PaginationAfter = Swift.String
1982-
/// The slug version of the enterprise name. You can also substitute this value with the enterprise id.
1982+
/// The slug version of the enterprise name.
19831983
///
19841984
/// - Remark: Generated from `#/components/parameters/enterprise`.
19851985
public typealias Enterprise = Swift.String
@@ -2198,14 +2198,14 @@ public enum Operations {
21982198
public struct Input: Sendable, Hashable {
21992199
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/GET/path`.
22002200
public struct Path: Sendable, Hashable {
2201-
/// The slug version of the enterprise name. You can also substitute this value with the enterprise id.
2201+
/// The slug version of the enterprise name.
22022202
///
22032203
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/GET/path/enterprise`.
22042204
public var enterprise: Components.Parameters.Enterprise
22052205
/// Creates a new `Path`.
22062206
///
22072207
/// - Parameters:
2208-
/// - enterprise: The slug version of the enterprise name. You can also substitute this value with the enterprise id.
2208+
/// - enterprise: The slug version of the enterprise name.
22092209
public init(enterprise: Components.Parameters.Enterprise) {
22102210
self.enterprise = enterprise
22112211
}
@@ -2414,14 +2414,14 @@ public enum Operations {
24142414
public struct Input: Sendable, Hashable {
24152415
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/POST/path`.
24162416
public struct Path: Sendable, Hashable {
2417-
/// The slug version of the enterprise name. You can also substitute this value with the enterprise id.
2417+
/// The slug version of the enterprise name.
24182418
///
24192419
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/POST/path/enterprise`.
24202420
public var enterprise: Components.Parameters.Enterprise
24212421
/// Creates a new `Path`.
24222422
///
24232423
/// - Parameters:
2424-
/// - enterprise: The slug version of the enterprise name. You can also substitute this value with the enterprise id.
2424+
/// - enterprise: The slug version of the enterprise name.
24252425
public init(enterprise: Components.Parameters.Enterprise) {
24262426
self.enterprise = enterprise
24272427
}
@@ -3095,14 +3095,14 @@ public enum Operations {
30953095
public struct Input: Sendable, Hashable {
30963096
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/defaults/GET/path`.
30973097
public struct Path: Sendable, Hashable {
3098-
/// The slug version of the enterprise name. You can also substitute this value with the enterprise id.
3098+
/// The slug version of the enterprise name.
30993099
///
31003100
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/defaults/GET/path/enterprise`.
31013101
public var enterprise: Components.Parameters.Enterprise
31023102
/// Creates a new `Path`.
31033103
///
31043104
/// - Parameters:
3105-
/// - enterprise: The slug version of the enterprise name. You can also substitute this value with the enterprise id.
3105+
/// - enterprise: The slug version of the enterprise name.
31063106
public init(enterprise: Components.Parameters.Enterprise) {
31073107
self.enterprise = enterprise
31083108
}
@@ -3231,7 +3231,7 @@ public enum Operations {
32313231
public struct Input: Sendable, Hashable {
32323232
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/GET/path`.
32333233
public struct Path: Sendable, Hashable {
3234-
/// The slug version of the enterprise name. You can also substitute this value with the enterprise id.
3234+
/// The slug version of the enterprise name.
32353235
///
32363236
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/GET/path/enterprise`.
32373237
public var enterprise: Components.Parameters.Enterprise
@@ -3242,7 +3242,7 @@ public enum Operations {
32423242
/// Creates a new `Path`.
32433243
///
32443244
/// - Parameters:
3245-
/// - enterprise: The slug version of the enterprise name. You can also substitute this value with the enterprise id.
3245+
/// - enterprise: The slug version of the enterprise name.
32463246
/// - configurationId: The unique identifier of the code security configuration.
32473247
public init(
32483248
enterprise: Components.Parameters.Enterprise,
@@ -3453,7 +3453,7 @@ public enum Operations {
34533453
public struct Input: Sendable, Hashable {
34543454
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/PATCH/path`.
34553455
public struct Path: Sendable, Hashable {
3456-
/// The slug version of the enterprise name. You can also substitute this value with the enterprise id.
3456+
/// The slug version of the enterprise name.
34573457
///
34583458
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/PATCH/path/enterprise`.
34593459
public var enterprise: Components.Parameters.Enterprise
@@ -3464,7 +3464,7 @@ public enum Operations {
34643464
/// Creates a new `Path`.
34653465
///
34663466
/// - Parameters:
3467-
/// - enterprise: The slug version of the enterprise name. You can also substitute this value with the enterprise id.
3467+
/// - enterprise: The slug version of the enterprise name.
34683468
/// - configurationId: The unique identifier of the code security configuration.
34693469
public init(
34703470
enterprise: Components.Parameters.Enterprise,
@@ -4159,7 +4159,7 @@ public enum Operations {
41594159
public struct Input: Sendable, Hashable {
41604160
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/DELETE/path`.
41614161
public struct Path: Sendable, Hashable {
4162-
/// The slug version of the enterprise name. You can also substitute this value with the enterprise id.
4162+
/// The slug version of the enterprise name.
41634163
///
41644164
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/DELETE/path/enterprise`.
41654165
public var enterprise: Components.Parameters.Enterprise
@@ -4170,7 +4170,7 @@ public enum Operations {
41704170
/// Creates a new `Path`.
41714171
///
41724172
/// - Parameters:
4173-
/// - enterprise: The slug version of the enterprise name. You can also substitute this value with the enterprise id.
4173+
/// - enterprise: The slug version of the enterprise name.
41744174
/// - configurationId: The unique identifier of the code security configuration.
41754175
public init(
41764176
enterprise: Components.Parameters.Enterprise,
@@ -4384,7 +4384,7 @@ public enum Operations {
43844384
public struct Input: Sendable, Hashable {
43854385
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach/POST/path`.
43864386
public struct Path: Sendable, Hashable {
4387-
/// The slug version of the enterprise name. You can also substitute this value with the enterprise id.
4387+
/// The slug version of the enterprise name.
43884388
///
43894389
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach/POST/path/enterprise`.
43904390
public var enterprise: Components.Parameters.Enterprise
@@ -4395,7 +4395,7 @@ public enum Operations {
43954395
/// Creates a new `Path`.
43964396
///
43974397
/// - Parameters:
4398-
/// - enterprise: The slug version of the enterprise name. You can also substitute this value with the enterprise id.
4398+
/// - enterprise: The slug version of the enterprise name.
43994399
/// - configurationId: The unique identifier of the code security configuration.
44004400
public init(
44014401
enterprise: Components.Parameters.Enterprise,
@@ -4615,7 +4615,7 @@ public enum Operations {
46154615
public struct Input: Sendable, Hashable {
46164616
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults/PUT/path`.
46174617
public struct Path: Sendable, Hashable {
4618-
/// The slug version of the enterprise name. You can also substitute this value with the enterprise id.
4618+
/// The slug version of the enterprise name.
46194619
///
46204620
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults/PUT/path/enterprise`.
46214621
public var enterprise: Components.Parameters.Enterprise
@@ -4626,7 +4626,7 @@ public enum Operations {
46264626
/// Creates a new `Path`.
46274627
///
46284628
/// - Parameters:
4629-
/// - enterprise: The slug version of the enterprise name. You can also substitute this value with the enterprise id.
4629+
/// - enterprise: The slug version of the enterprise name.
46304630
/// - configurationId: The unique identifier of the code security configuration.
46314631
public init(
46324632
enterprise: Components.Parameters.Enterprise,
@@ -4875,7 +4875,7 @@ public enum Operations {
48754875
public struct Input: Sendable, Hashable {
48764876
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories/GET/path`.
48774877
public struct Path: Sendable, Hashable {
4878-
/// The slug version of the enterprise name. You can also substitute this value with the enterprise id.
4878+
/// The slug version of the enterprise name.
48794879
///
48804880
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories/GET/path/enterprise`.
48814881
public var enterprise: Components.Parameters.Enterprise
@@ -4886,7 +4886,7 @@ public enum Operations {
48864886
/// Creates a new `Path`.
48874887
///
48884888
/// - Parameters:
4889-
/// - enterprise: The slug version of the enterprise name. You can also substitute this value with the enterprise id.
4889+
/// - enterprise: The slug version of the enterprise name.
48904890
/// - configurationId: The unique identifier of the code security configuration.
48914891
public init(
48924892
enterprise: Components.Parameters.Enterprise,
@@ -6277,14 +6277,14 @@ public enum Operations {
62776277
@frozen public enum Body: Sendable, Hashable {
62786278
/// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/detach/DELETE/requestBody/json`.
62796279
public struct JsonPayload: Codable, Hashable, Sendable {
6280-
/// An array of repository IDs to detach from configurations. Up to 1000 IDs can be provided.
6280+
/// An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.
62816281
///
62826282
/// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/detach/DELETE/requestBody/json/selected_repository_ids`.
62836283
public var selectedRepositoryIds: [Swift.Int]?
62846284
/// Creates a new `JsonPayload`.
62856285
///
62866286
/// - Parameters:
6287-
/// - selectedRepositoryIds: An array of repository IDs to detach from configurations. Up to 1000 IDs can be provided.
6287+
/// - selectedRepositoryIds: An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.
62886288
public init(selectedRepositoryIds: [Swift.Int]? = nil) {
62896289
self.selectedRepositoryIds = selectedRepositoryIds
62906290
}

Sources/dependabot/Client.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,20 @@ public struct Client: APIProtocol {
672672
name: "epss_percentage",
673673
value: input.query.epssPercentage
674674
)
675+
try converter.setQueryItemAsURI(
676+
in: &request,
677+
style: .form,
678+
explode: true,
679+
name: "artifact_registry_url",
680+
value: input.query.artifactRegistryUrl
681+
)
682+
try converter.setQueryItemAsURI(
683+
in: &request,
684+
style: .form,
685+
explode: true,
686+
name: "package_registry",
687+
value: input.query.packageRegistry
688+
)
675689
try converter.setQueryItemAsURI(
676690
in: &request,
677691
style: .form,

0 commit comments

Comments
 (0)