You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/dependency-graph/Client.swift
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -282,7 +282,11 @@ public struct Client: APIProtocol {
282
282
}
283
283
/// Create a snapshot of dependencies for a repository
284
284
///
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.
/// Create a snapshot of dependencies for a repository
29
29
///
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.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/dependency-graph/snapshots/post(dependency-graph/create-repository-snapshot)`.
@@ -70,7 +74,11 @@ extension APIProtocol {
70
74
}
71
75
/// Create a snapshot of dependencies for a repository
72
76
///
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.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/dependency-graph/snapshots/post(dependency-graph/create-repository-snapshot)`.
@@ -1590,7 +1598,11 @@ public enum Operations {
1590
1598
}
1591
1599
/// Create a snapshot of dependencies for a repository
1592
1600
///
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.
0 commit comments