diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index 243f03f568..b10f57413d 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -8552,7 +8552,7 @@ } ], "summary": "Set self-hosted runners in a group for an enterprise", - "description": "Replaces the list of self-hosted runners that that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", "operationId": "enterprise-admin/set-self-hosted-runners-in-group-for-enterprise", "tags": [ "enterprise-admin" @@ -8614,7 +8614,7 @@ "description": "Default Response" } ], - "descriptionHTML": "

Replaces the list of self-hosted runners that that are part of an enterprise runner group.

\n

You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

", + "descriptionHTML": "

Replaces the list of self-hosted runners that are part of an enterprise runner group.

\n

You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

", "bodyParameters": [ { "description": "

Required. List of runner IDs to add to the runner group.

", @@ -75025,13 +75025,13 @@ }, { "name": "filter", - "description": "Filters results using the equals query parameter operator (`eq`). You can filter results that are equal to `id`, `userName`, `emails`, and `external_id`. For example, to search for an identity with the `userName` Octocat, you would use this query:\n\n`?filter=userName%20eq%20\\\"Octocat\\\"`.\n\nTo filter results for for the identity with the email `octocat@github.com`, you would use this query:\n\n`?filter=emails%20eq%20\\\"octocat@github.com\\\"`.", + "description": "Filters results using the equals query parameter operator (`eq`). You can filter results that are equal to `id`, `userName`, `emails`, and `external_id`. For example, to search for an identity with the `userName` Octocat, you would use this query:\n\n`?filter=userName%20eq%20\\\"Octocat\\\"`.\n\nTo filter results for the identity with the email `octocat@github.com`, you would use this query:\n\n`?filter=emails%20eq%20\\\"octocat@github.com\\\"`.", "in": "query", "required": false, "schema": { "type": "string" }, - "descriptionHTML": "

Filters results using the equals query parameter operator (eq). You can filter results that are equal to id, userName, emails, and external_id. For example, to search for an identity with the userName Octocat, you would use this query:

\n

?filter=userName%20eq%20\\\"Octocat\\\".

\n

To filter results for for the identity with the email octocat@github.com, you would use this query:

\n

?filter=emails%20eq%20\\\"octocat@github.com\\\".

" + "descriptionHTML": "

Filters results using the equals query parameter operator (eq). You can filter results that are equal to id, userName, emails, and external_id. For example, to search for an identity with the userName Octocat, you would use this query:

\n

?filter=userName%20eq%20\\\"Octocat\\\".

\n

To filter results for the identity with the email octocat@github.com, you would use this query:

\n

?filter=emails%20eq%20\\\"octocat@github.com\\\".

" } ], "x-codeSamples": [ @@ -83961,7 +83961,7 @@ "tags": [ "interactions" ], - "operationId": "interactions/get-restrictions-for-your-public-repos", + "operationId": "interactions/get-restrictions-for-authenticated-user", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-your-public-repositories" @@ -84012,7 +84012,7 @@ "tags": [ "interactions" ], - "operationId": "interactions/set-restrictions-for-your-public-repos", + "operationId": "interactions/set-restrictions-for-authenticated-user", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-your-public-repositories" @@ -84149,7 +84149,7 @@ "tags": [ "interactions" ], - "operationId": "interactions/remove-restrictions-for-your-public-repos", + "operationId": "interactions/remove-restrictions-for-authenticated-user", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-from-your-public-repositories" diff --git a/lib/rest/static/decorated/ghes-2.19.json b/lib/rest/static/decorated/ghes-2.19.json index 5eb2dfb3f1..3157c77408 100644 --- a/lib/rest/static/decorated/ghes-2.19.json +++ b/lib/rest/static/decorated/ghes-2.19.json @@ -3113,11 +3113,11 @@ }, "email": { "type": "string", - "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the GitHub authentication guide.

", + "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the GitHub authentication guide.

", "name": "email", "in": "body", "rawType": "string", - "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.19/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", + "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the [GitHub authentication guide](https://help.github.com/enterprise/2.19/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", "childParamsGroups": [] } }, @@ -3158,11 +3158,11 @@ }, { "type": "string", - "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the GitHub authentication guide.

", + "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the GitHub authentication guide.

", "name": "email", "in": "body", "rawType": "string", - "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.19/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", + "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the [GitHub authentication guide](https://help.github.com/enterprise/2.19/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", "childParamsGroups": [] } ], diff --git a/lib/rest/static/decorated/ghes-2.20.json b/lib/rest/static/decorated/ghes-2.20.json index 60f8175eb4..a406d56e98 100644 --- a/lib/rest/static/decorated/ghes-2.20.json +++ b/lib/rest/static/decorated/ghes-2.20.json @@ -3106,11 +3106,11 @@ }, "email": { "type": "string", - "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the GitHub authentication guide.

", + "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the GitHub authentication guide.

", "name": "email", "in": "body", "rawType": "string", - "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.20/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", + "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the [GitHub authentication guide](https://help.github.com/enterprise/2.20/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", "childParamsGroups": [] } }, @@ -3151,11 +3151,11 @@ }, { "type": "string", - "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the GitHub authentication guide.

", + "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the GitHub authentication guide.

", "name": "email", "in": "body", "rawType": "string", - "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.20/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", + "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the [GitHub authentication guide](https://help.github.com/enterprise/2.20/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", "childParamsGroups": [] } ], diff --git a/lib/rest/static/decorated/ghes-2.21.json b/lib/rest/static/decorated/ghes-2.21.json index d3462b7690..eeecd1aec1 100644 --- a/lib/rest/static/decorated/ghes-2.21.json +++ b/lib/rest/static/decorated/ghes-2.21.json @@ -3106,11 +3106,11 @@ }, "email": { "type": "string", - "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the GitHub authentication guide.

", + "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the GitHub authentication guide.

", "name": "email", "in": "body", "rawType": "string", - "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.21/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", + "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the [GitHub authentication guide](https://help.github.com/enterprise/2.21/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", "childParamsGroups": [] } }, @@ -3151,11 +3151,11 @@ }, { "type": "string", - "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the GitHub authentication guide.

", + "description": "

Required for built-in authentication. The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the GitHub authentication guide.

", "name": "email", "in": "body", "rawType": "string", - "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.21/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", + "rawDescription": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the [GitHub authentication guide](https://help.github.com/enterprise/2.21/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/).", "childParamsGroups": [] } ], diff --git a/lib/rest/static/decorated/ghes-2.22.json b/lib/rest/static/decorated/ghes-2.22.json index d89a3ff24e..a894f033c3 100644 --- a/lib/rest/static/decorated/ghes-2.22.json +++ b/lib/rest/static/decorated/ghes-2.22.json @@ -9221,7 +9221,7 @@ } ], "summary": "Set self-hosted runners in a group for an enterprise", - "description": "Replaces the list of self-hosted runners that that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", "operationId": "enterprise-admin/set-self-hosted-runners-in-group-for-enterprise", "tags": [ "enterprise-admin" @@ -9283,7 +9283,7 @@ "description": "Default Response" } ], - "descriptionHTML": "

Replaces the list of self-hosted runners that that are part of an enterprise runner group.

\n

You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

", + "descriptionHTML": "

Replaces the list of self-hosted runners that are part of an enterprise runner group.

\n

You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

", "bodyParameters": [ { "description": "

Required. List of runner IDs to add to the runner group.

", diff --git a/lib/rest/static/decorated/ghes-3.0.json b/lib/rest/static/decorated/ghes-3.0.json index 47f34a5b10..263985f48c 100644 --- a/lib/rest/static/decorated/ghes-3.0.json +++ b/lib/rest/static/decorated/ghes-3.0.json @@ -12175,7 +12175,7 @@ } ], "summary": "Set self-hosted runners in a group for an enterprise", - "description": "Replaces the list of self-hosted runners that that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", "operationId": "enterprise-admin/set-self-hosted-runners-in-group-for-enterprise", "tags": [ "enterprise-admin" @@ -12237,7 +12237,7 @@ "description": "Default Response" } ], - "descriptionHTML": "

Replaces the list of self-hosted runners that that are part of an enterprise runner group.

\n

You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

", + "descriptionHTML": "

Replaces the list of self-hosted runners that are part of an enterprise runner group.

\n

You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

", "bodyParameters": [ { "description": "

Required. List of runner IDs to add to the runner group.

", diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index 09800bdb3b..906533d82a 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -18501,7 +18501,7 @@ }, "put": { "summary": "Set self-hosted runners in a group for an enterprise", - "description": "Replaces the list of self-hosted runners that that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", "operationId": "enterprise-admin/set-self-hosted-runners-in-group-for-enterprise", "tags": [ "enterprise-admin" @@ -35386,6 +35386,13 @@ "type": "string" } } + }, + "content": { + "text/html": { + "schema": { + "type": "string" + } + } } }, "304": { @@ -269348,7 +269355,7 @@ }, { "name": "filter", - "description": "Filters results using the equals query parameter operator (`eq`). You can filter results that are equal to `id`, `userName`, `emails`, and `external_id`. For example, to search for an identity with the `userName` Octocat, you would use this query:\n\n`?filter=userName%20eq%20\\\"Octocat\\\"`.\n\nTo filter results for for the identity with the email `octocat@github.com`, you would use this query:\n\n`?filter=emails%20eq%20\\\"octocat@github.com\\\"`.", + "description": "Filters results using the equals query parameter operator (`eq`). You can filter results that are equal to `id`, `userName`, `emails`, and `external_id`. For example, to search for an identity with the `userName` Octocat, you would use this query:\n\n`?filter=userName%20eq%20\\\"Octocat\\\"`.\n\nTo filter results for the identity with the email `octocat@github.com`, you would use this query:\n\n`?filter=emails%20eq%20\\\"octocat@github.com\\\"`.", "in": "query", "required": false, "schema": { @@ -295252,39 +295259,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -295489,39 +295489,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -295693,39 +295686,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -300190,7 +300176,7 @@ "tags": [ "interactions" ], - "operationId": "interactions/get-restrictions-for-your-public-repos", + "operationId": "interactions/get-restrictions-for-authenticated-user", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-your-public-repositories" @@ -300260,7 +300246,7 @@ "tags": [ "interactions" ], - "operationId": "interactions/set-restrictions-for-your-public-repos", + "operationId": "interactions/set-restrictions-for-authenticated-user", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-your-public-repositories" @@ -300437,7 +300423,7 @@ "tags": [ "interactions" ], - "operationId": "interactions/remove-restrictions-for-your-public-repos", + "operationId": "interactions/remove-restrictions-for-authenticated-user", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-from-your-public-repositories" @@ -312796,39 +312782,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, diff --git a/lib/rest/static/dereferenced/ghes-2.18.deref.json b/lib/rest/static/dereferenced/ghes-2.18.deref.json index 0604c756e2..a7562335b4 100644 --- a/lib/rest/static/dereferenced/ghes-2.18.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.18.deref.json @@ -31083,6 +31083,13 @@ "type": "string" } } + }, + "content": { + "text/html": { + "schema": { + "type": "string" + } + } } }, "304": { @@ -227610,39 +227617,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -227814,39 +227814,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -237513,39 +237506,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, diff --git a/lib/rest/static/dereferenced/ghes-2.19.deref.json b/lib/rest/static/dereferenced/ghes-2.19.deref.json index 3cd8c7d5d8..2572c0792c 100644 --- a/lib/rest/static/dereferenced/ghes-2.19.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.19.deref.json @@ -4447,7 +4447,7 @@ }, "email": { "type": "string", - "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.19/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the [GitHub authentication guide](https://help.github.com/enterprise/2.19/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." } }, "required": [ @@ -31118,6 +31118,13 @@ "type": "string" } } + }, + "content": { + "text/html": { + "schema": { + "type": "string" + } + } } }, "304": { @@ -230834,39 +230841,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -231038,39 +231038,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -240742,39 +240735,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, diff --git a/lib/rest/static/dereferenced/ghes-2.20.deref.json b/lib/rest/static/dereferenced/ghes-2.20.deref.json index 80222f73d8..8f86caa39a 100644 --- a/lib/rest/static/dereferenced/ghes-2.20.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.20.deref.json @@ -4443,7 +4443,7 @@ }, "email": { "type": "string", - "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.20/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the [GitHub authentication guide](https://help.github.com/enterprise/2.20/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." } }, "required": [ @@ -34083,6 +34083,13 @@ "type": "string" } } + }, + "content": { + "text/html": { + "schema": { + "type": "string" + } + } } }, "304": { @@ -233887,39 +233894,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -234091,39 +234091,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -243813,39 +243806,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, diff --git a/lib/rest/static/dereferenced/ghes-2.21.deref.json b/lib/rest/static/dereferenced/ghes-2.21.deref.json index df01f36050..46136cc1f0 100644 --- a/lib/rest/static/dereferenced/ghes-2.21.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.21.deref.json @@ -4443,7 +4443,7 @@ }, "email": { "type": "string", - "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.21/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the [GitHub authentication guide](https://help.github.com/enterprise/2.21/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." } }, "required": [ @@ -34117,6 +34117,13 @@ "type": "string" } } + }, + "content": { + "text/html": { + "schema": { + "type": "string" + } + } } }, "304": { @@ -242895,39 +242902,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -243099,39 +243099,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -252841,39 +252834,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, diff --git a/lib/rest/static/dereferenced/ghes-2.22.deref.json b/lib/rest/static/dereferenced/ghes-2.22.deref.json index 9bc8ea9a2e..3b490894ce 100644 --- a/lib/rest/static/dereferenced/ghes-2.22.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.22.deref.json @@ -21597,7 +21597,7 @@ }, "put": { "summary": "Set self-hosted runners in a group for an enterprise", - "description": "Replaces the list of self-hosted runners that that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", "operationId": "enterprise-admin/set-self-hosted-runners-in-group-for-enterprise", "tags": [ "enterprise-admin" @@ -37822,6 +37822,13 @@ "type": "string" } } + }, + "content": { + "text/html": { + "schema": { + "type": "string" + } + } } }, "304": { @@ -271290,39 +271297,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -271494,39 +271494,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -281223,39 +281216,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, diff --git a/lib/rest/static/dereferenced/ghes-3.0.deref.json b/lib/rest/static/dereferenced/ghes-3.0.deref.json index 26657f2178..8adba4fa15 100644 --- a/lib/rest/static/dereferenced/ghes-3.0.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.0.deref.json @@ -23873,7 +23873,7 @@ }, "put": { "summary": "Set self-hosted runners in a group for an enterprise", - "description": "Replaces the list of self-hosted runners that that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.", "operationId": "enterprise-admin/set-self-hosted-runners-in-group-for-enterprise", "tags": [ "enterprise-admin" @@ -40243,6 +40243,13 @@ "type": "string" } } + }, + "content": { + "text/html": { + "schema": { + "type": "string" + } + } } }, "304": { @@ -276616,39 +276623,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -276820,39 +276820,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, @@ -286573,39 +286566,32 @@ "items": { "title": "Email", "description": "Email", - "oneOf": [ - { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "primary": { - "type": "boolean", - "example": true - }, - "verified": { - "type": "boolean", - "example": true - }, - "visibility": { - "type": "string", - "example": "public", - "nullable": true - } - }, - "required": [ - "email", - "primary", - "verified", - "visibility" - ] + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" }, - { - "type": "string" + "primary": { + "type": "boolean", + "example": true + }, + "verified": { + "type": "boolean", + "example": true + }, + "visibility": { + "type": "string", + "example": "public", + "nullable": true } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" ] } }, diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json index bbce501fda..82896a17ec 100644 --- a/lib/rest/static/dereferenced/github.ae.deref.json +++ b/lib/rest/static/dereferenced/github.ae.deref.json @@ -26346,6 +26346,13 @@ "type": "string" } } + }, + "content": { + "text/html": { + "schema": { + "type": "string" + } + } } }, "304": {