Skip to content

Commit 88182ac

Browse files
Commit via running ake Sources/users
1 parent 6ee6f60 commit 88182ac

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

Sources/users/Client.swift

+1-6
Original file line numberDiff line numberDiff line change
@@ -4841,12 +4841,7 @@ public struct Client: APIProtocol {
48414841
///
48424842
/// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.
48434843
///
4844-
/// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:
4845-
///
4846-
/// ```shell
4847-
/// curl -u username:token
4848-
/// https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192
4849-
/// ```
4844+
/// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).
48504845
///
48514846
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
48524847
///

Sources/users/Types.swift

+3-18
Original file line numberDiff line numberDiff line change
@@ -313,12 +313,7 @@ public protocol APIProtocol: Sendable {
313313
///
314314
/// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.
315315
///
316-
/// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:
317-
///
318-
/// ```shell
319-
/// curl -u username:token
320-
/// https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192
321-
/// ```
316+
/// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).
322317
///
323318
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
324319
///
@@ -942,12 +937,7 @@ extension APIProtocol {
942937
///
943938
/// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.
944939
///
945-
/// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:
946-
///
947-
/// ```shell
948-
/// curl -u username:token
949-
/// https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192
950-
/// ```
940+
/// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).
951941
///
952942
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
953943
///
@@ -11226,12 +11216,7 @@ public enum Operations {
1122611216
///
1122711217
/// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.
1122811218
///
11229-
/// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:
11230-
///
11231-
/// ```shell
11232-
/// curl -u username:token
11233-
/// https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192
11234-
/// ```
11219+
/// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).
1123511220
///
1123611221
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
1123711222
///

0 commit comments

Comments
 (0)