Skip to content

Commit 9122376

Browse files
Commit via running ake Sources/users
1 parent 0c1c50b commit 9122376

File tree

2 files changed

+129
-275
lines changed

2 files changed

+129
-275
lines changed

Sources/users/Client.swift

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4388,9 +4388,11 @@ public struct Client: APIProtocol {
43884388
///
43894389
/// Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time.
43904390
///
4391-
/// The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#authentication).
4391+
/// If you are requesting information about an [Enterprise Managed User](https://docs.github.com/enterprise-cloud@latest/admin/managing-iam/understanding-iam-for-enterprises/about-enterprise-managed-users), or a GitHub App bot that is installed in an organization that uses Enterprise Managed Users, your requests must be authenticated as a user or GitHub App that has access to the organization to view that account's information. If you are not authorized, the request will return a `404 Not Found` status.
43924392
///
4393-
/// The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)".
4393+
/// The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#authentication).
4394+
///
4395+
/// The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/rest/users/emails).
43944396
///
43954397
/// - Remark: HTTP `GET /user/{account_id}`.
43964398
/// - Remark: Generated from `#/paths//user/{account_id}/get(users/get-by-id)`.
@@ -4566,9 +4568,11 @@ public struct Client: APIProtocol {
45664568
///
45674569
/// Provides publicly available information about someone with a GitHub account.
45684570
///
4569-
/// The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#authentication).
4571+
/// If you are requesting information about an [Enterprise Managed User](https://docs.github.com/enterprise-cloud@latest/admin/managing-iam/understanding-iam-for-enterprises/about-enterprise-managed-users), or a GitHub App bot that is installed in an organization that uses Enterprise Managed Users, your requests must be authenticated as a user or GitHub App that has access to the organization to view that account's information. If you are not authorized, the request will return a `404 Not Found` status.
4572+
///
4573+
/// The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#authentication).
45704574
///
4571-
/// The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)".
4575+
/// The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/rest/users/emails).
45724576
///
45734577
/// - Remark: HTTP `GET /users/{username}`.
45744578
/// - Remark: Generated from `#/paths//users/{username}/get(users/get-by-username)`.
@@ -4700,6 +4704,13 @@ public struct Client: APIProtocol {
47004704
name: "after",
47014705
value: input.query.after
47024706
)
4707+
try converter.setQueryItemAsURI(
4708+
in: &request,
4709+
style: .form,
4710+
explode: true,
4711+
name: "predicate_type",
4712+
value: input.query.predicate_type
4713+
)
47034714
converter.setAcceptHeader(
47044715
in: &request.headerFields,
47054716
contentTypes: input.headers.accept

0 commit comments

Comments
 (0)