Skip to content

Commit 02c4ee1

Browse files
Merge pull request #129 from wei18/dependabot/submodules/Submodule/github/rest-api-description-c52348c
Bump Submodule/github/rest-api-description from `9110306` to `c52348c`
2 parents 8fa56b7 + 0ec8fed commit 02c4ee1

File tree

8 files changed

+1494
-18
lines changed

8 files changed

+1494
-18
lines changed

Sources/dependabot/Client.swift

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,9 @@ public struct Client: APIProtocol {
274274
}
275275
)
276276
}
277-
/// Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.
277+
/// Lists the repositories Dependabot can access in an organization
278278
///
279+
/// Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.
279280
/// > [!NOTE]
280281
/// > This operation supports both server-to-server and user-to-server access.
281282
/// Unauthorized users will not see the existence of this endpoint.
@@ -398,7 +399,9 @@ public struct Client: APIProtocol {
398399
}
399400
)
400401
}
401-
/// Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.
402+
/// Updates Dependabot's repository access list for an organization
403+
///
404+
/// Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.
402405
///
403406
/// > [!NOTE]
404407
/// > This operation supports both server-to-server and user-to-server access.
@@ -507,14 +510,14 @@ public struct Client: APIProtocol {
507510
}
508511
/// Set the default repository access level for Dependabot
509512
///
510-
/// > [!NOTE]
511-
/// > This operation supports both server-to-server and user-to-server access.
512513
/// Sets the default level of repository access Dependabot will have while performing an update. Available values are:
513514
/// - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.
514515
/// - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.
515516
///
516517
/// Unauthorized users will not see the existence of this endpoint.
517518
///
519+
/// This operation supports both server-to-server and user-to-server access.
520+
///
518521
/// - Remark: HTTP `PUT /organizations/{org}/dependabot/repository-access/default-level`.
519522
/// - Remark: Generated from `#/paths//organizations/{org}/dependabot/repository-access/default-level/put(dependabot/set-repository-access-default-level)`.
520523
public func dependabotSetRepositoryAccessDefaultLevel(_ input: Operations.DependabotSetRepositoryAccessDefaultLevel.Input) async throws -> Operations.DependabotSetRepositoryAccessDefaultLevel.Output {

Sources/dependabot/Types.swift

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,19 @@ public protocol APIProtocol: Sendable {
2424
/// - Remark: HTTP `GET /enterprises/{enterprise}/dependabot/alerts`.
2525
/// - Remark: Generated from `#/paths//enterprises/{enterprise}/dependabot/alerts/get(dependabot/list-alerts-for-enterprise)`.
2626
func dependabotListAlertsForEnterprise(_ input: Operations.DependabotListAlertsForEnterprise.Input) async throws -> Operations.DependabotListAlertsForEnterprise.Output
27-
/// Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.
27+
/// Lists the repositories Dependabot can access in an organization
2828
///
29+
/// Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.
2930
/// > [!NOTE]
3031
/// > This operation supports both server-to-server and user-to-server access.
3132
/// Unauthorized users will not see the existence of this endpoint.
3233
///
3334
/// - Remark: HTTP `GET /organizations/{org}/dependabot/repository-access`.
3435
/// - Remark: Generated from `#/paths//organizations/{org}/dependabot/repository-access/get(dependabot/repository-access-for-org)`.
3536
func dependabotRepositoryAccessForOrg(_ input: Operations.DependabotRepositoryAccessForOrg.Input) async throws -> Operations.DependabotRepositoryAccessForOrg.Output
36-
/// Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.
37+
/// Updates Dependabot's repository access list for an organization
38+
///
39+
/// Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.
3740
///
3841
/// > [!NOTE]
3942
/// > This operation supports both server-to-server and user-to-server access.
@@ -52,14 +55,14 @@ public protocol APIProtocol: Sendable {
5255
func dependabotUpdateRepositoryAccessForOrg(_ input: Operations.DependabotUpdateRepositoryAccessForOrg.Input) async throws -> Operations.DependabotUpdateRepositoryAccessForOrg.Output
5356
/// Set the default repository access level for Dependabot
5457
///
55-
/// > [!NOTE]
56-
/// > This operation supports both server-to-server and user-to-server access.
5758
/// Sets the default level of repository access Dependabot will have while performing an update. Available values are:
5859
/// - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.
5960
/// - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.
6061
///
6162
/// Unauthorized users will not see the existence of this endpoint.
6263
///
64+
/// This operation supports both server-to-server and user-to-server access.
65+
///
6366
/// - Remark: HTTP `PUT /organizations/{org}/dependabot/repository-access/default-level`.
6467
/// - Remark: Generated from `#/paths//organizations/{org}/dependabot/repository-access/default-level/put(dependabot/set-repository-access-default-level)`.
6568
func dependabotSetRepositoryAccessDefaultLevel(_ input: Operations.DependabotSetRepositoryAccessDefaultLevel.Input) async throws -> Operations.DependabotSetRepositoryAccessDefaultLevel.Output
@@ -264,8 +267,9 @@ extension APIProtocol {
264267
headers: headers
265268
))
266269
}
267-
/// Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.
270+
/// Lists the repositories Dependabot can access in an organization
268271
///
272+
/// Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.
269273
/// > [!NOTE]
270274
/// > This operation supports both server-to-server and user-to-server access.
271275
/// Unauthorized users will not see the existence of this endpoint.
@@ -283,7 +287,9 @@ extension APIProtocol {
283287
headers: headers
284288
))
285289
}
286-
/// Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.
290+
/// Updates Dependabot's repository access list for an organization
291+
///
292+
/// Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.
287293
///
288294
/// > [!NOTE]
289295
/// > This operation supports both server-to-server and user-to-server access.
@@ -312,14 +318,14 @@ extension APIProtocol {
312318
}
313319
/// Set the default repository access level for Dependabot
314320
///
315-
/// > [!NOTE]
316-
/// > This operation supports both server-to-server and user-to-server access.
317321
/// Sets the default level of repository access Dependabot will have while performing an update. Available values are:
318322
/// - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.
319323
/// - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.
320324
///
321325
/// Unauthorized users will not see the existence of this endpoint.
322326
///
327+
/// This operation supports both server-to-server and user-to-server access.
328+
///
323329
/// - Remark: HTTP `PUT /organizations/{org}/dependabot/repository-access/default-level`.
324330
/// - Remark: Generated from `#/paths//organizations/{org}/dependabot/repository-access/default-level/put(dependabot/set-repository-access-default-level)`.
325331
public func dependabotSetRepositoryAccessDefaultLevel(
@@ -4915,8 +4921,9 @@ public enum Operations {
49154921
}
49164922
}
49174923
}
4918-
/// Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.
4924+
/// Lists the repositories Dependabot can access in an organization
49194925
///
4926+
/// Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.
49204927
/// > [!NOTE]
49214928
/// > This operation supports both server-to-server and user-to-server access.
49224929
/// Unauthorized users will not see the existence of this endpoint.
@@ -5122,7 +5129,9 @@ public enum Operations {
51225129
}
51235130
}
51245131
}
5125-
/// Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.
5132+
/// Updates Dependabot's repository access list for an organization
5133+
///
5134+
/// Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.
51265135
///
51275136
/// > [!NOTE]
51285137
/// > This operation supports both server-to-server and user-to-server access.
@@ -5332,14 +5341,14 @@ public enum Operations {
53325341
}
53335342
/// Set the default repository access level for Dependabot
53345343
///
5335-
/// > [!NOTE]
5336-
/// > This operation supports both server-to-server and user-to-server access.
53375344
/// Sets the default level of repository access Dependabot will have while performing an update. Available values are:
53385345
/// - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.
53395346
/// - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.
53405347
///
53415348
/// Unauthorized users will not see the existence of this endpoint.
53425349
///
5350+
/// This operation supports both server-to-server and user-to-server access.
5351+
///
53435352
/// - Remark: HTTP `PUT /organizations/{org}/dependabot/repository-access/default-level`.
53445353
/// - Remark: Generated from `#/paths//organizations/{org}/dependabot/repository-access/default-level/put(dependabot/set-repository-access-default-level)`.
53455354
public enum DependabotSetRepositoryAccessDefaultLevel {

0 commit comments

Comments
 (0)