Skip to content

Commit ed034c1

Browse files
Commit via running ake Sources/dependency-graph
1 parent cd63449 commit ed034c1

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

Sources/dependency-graph/Client.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,11 @@ public struct Client: APIProtocol {
282282
}
283283
/// Create a snapshot of dependencies for a repository
284284
///
285-
/// Create a new snapshot of a repository's dependencies. You must authenticate using an access token with the `repo` scope to use this endpoint for a repository that the requesting user has access to.
285+
/// Create a new snapshot of a repository's dependencies.
286+
///
287+
/// The authenticated user must have access to the repository.
288+
///
289+
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
286290
///
287291
/// - Remark: HTTP `POST /repos/{owner}/{repo}/dependency-graph/snapshots`.
288292
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/dependency-graph/snapshots/post(dependency-graph/create-repository-snapshot)`.

Sources/dependency-graph/Types.swift

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ public protocol APIProtocol: Sendable {
2727
func dependency_hyphen_graph_sol_export_hyphen_sbom(_ input: Operations.dependency_hyphen_graph_sol_export_hyphen_sbom.Input) async throws -> Operations.dependency_hyphen_graph_sol_export_hyphen_sbom.Output
2828
/// Create a snapshot of dependencies for a repository
2929
///
30-
/// Create a new snapshot of a repository's dependencies. You must authenticate using an access token with the `repo` scope to use this endpoint for a repository that the requesting user has access to.
30+
/// Create a new snapshot of a repository's dependencies.
31+
///
32+
/// The authenticated user must have access to the repository.
33+
///
34+
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
3135
///
3236
/// - Remark: HTTP `POST /repos/{owner}/{repo}/dependency-graph/snapshots`.
3337
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/dependency-graph/snapshots/post(dependency-graph/create-repository-snapshot)`.
@@ -70,7 +74,11 @@ extension APIProtocol {
7074
}
7175
/// Create a snapshot of dependencies for a repository
7276
///
73-
/// Create a new snapshot of a repository's dependencies. You must authenticate using an access token with the `repo` scope to use this endpoint for a repository that the requesting user has access to.
77+
/// Create a new snapshot of a repository's dependencies.
78+
///
79+
/// The authenticated user must have access to the repository.
80+
///
81+
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
7482
///
7583
/// - Remark: HTTP `POST /repos/{owner}/{repo}/dependency-graph/snapshots`.
7684
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/dependency-graph/snapshots/post(dependency-graph/create-repository-snapshot)`.
@@ -1590,7 +1598,11 @@ public enum Operations {
15901598
}
15911599
/// Create a snapshot of dependencies for a repository
15921600
///
1593-
/// Create a new snapshot of a repository's dependencies. You must authenticate using an access token with the `repo` scope to use this endpoint for a repository that the requesting user has access to.
1601+
/// Create a new snapshot of a repository's dependencies.
1602+
///
1603+
/// The authenticated user must have access to the repository.
1604+
///
1605+
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
15941606
///
15951607
/// - Remark: HTTP `POST /repos/{owner}/{repo}/dependency-graph/snapshots`.
15961608
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/dependency-graph/snapshots/post(dependency-graph/create-repository-snapshot)`.

0 commit comments

Comments
 (0)