Skip to content

Commit

Permalink
fix: update the types for the patch to fix occurences of never (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot committed May 5, 2023
1 parent 76a76c6 commit 032e20f
Show file tree
Hide file tree
Showing 21 changed files with 1,091 additions and 1,430 deletions.
65 changes: 16 additions & 49 deletions cache/api.github.com.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "11.1.0",
"version": "11.1.1",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": {
Expand Down Expand Up @@ -2189,6 +2189,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"description": {
"description": "The description of the gist.",
Expand All @@ -2205,29 +2206,20 @@
},
"type": "object",
"additionalProperties": {
"type": "object",
"nullable": true,
"properties": {
"content": {
"description": "The new content of the file.",
"type": "string"
},
"filename": {
"description": "The new filename for the file.",
"type": "string",
"nullable": true
}
},
"anyOf": [
{
"required": [
"content"
]
},
"oneOf": [
{
"required": [
"filename"
]
"type": "object",
"properties": {
"content": {
"description": "The new content of the file.",
"type": "string"
},
"filename": {
"description": "The new filename for the file.",
"type": "string",
"nullable": true
}
}
},
{
"type": "object",
Expand All @@ -2237,19 +2229,6 @@
}
}
},
"anyOf": [
{
"required": [
"description"
]
},
{
"required": [
"files"
]
}
],
"type": "object",
"nullable": true
},
"examples": {
Expand Down Expand Up @@ -44086,19 +44065,7 @@
"type": "string"
}
}
},
"anyOf": [
{
"required": [
"reviewers"
]
},
{
"required": [
"team_reviewers"
]
}
]
}
},
"examples": {
"default": {
Expand Down
71 changes: 19 additions & 52 deletions cache/ghec.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "11.1.0",
"version": "11.1.1",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": {
Expand Down Expand Up @@ -5182,7 +5182,7 @@
"operationId": "gists/update",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/enterprise-cloud@latest//rest/reference/gists/#update-a-gist"
"url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
},
"parameters": [
{
Expand All @@ -5194,6 +5194,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"description": {
"description": "The description of the gist.",
Expand All @@ -5210,29 +5211,20 @@
},
"type": "object",
"additionalProperties": {
"type": "object",
"nullable": true,
"properties": {
"content": {
"description": "The new content of the file.",
"type": "string"
},
"filename": {
"description": "The new filename for the file.",
"type": "string",
"nullable": true
}
},
"anyOf": [
{
"required": [
"content"
]
},
"oneOf": [
{
"required": [
"filename"
]
"type": "object",
"properties": {
"content": {
"description": "The new content of the file.",
"type": "string"
},
"filename": {
"description": "The new filename for the file.",
"type": "string",
"nullable": true
}
}
},
{
"type": "object",
Expand All @@ -5242,19 +5234,6 @@
}
}
},
"anyOf": [
{
"required": [
"description"
]
},
{
"required": [
"files"
]
}
],
"type": "object",
"nullable": true
},
"examples": {
Expand Down Expand Up @@ -49600,14 +49579,14 @@
},
"post": {
"summary": "Request reviewers for a pull request",
"description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-cloud@latest//rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
"description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
"tags": [
"pulls"
],
"operationId": "pulls/request-reviewers",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/enterprise-cloud@latest//rest/reference/pulls#request-reviewers-for-a-pull-request"
"url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
},
"parameters": [
{
Expand Down Expand Up @@ -49641,19 +49620,7 @@
"type": "string"
}
}
},
"anyOf": [
{
"required": [
"reviewers"
]
},
{
"required": [
"team_reviewers"
]
}
]
}
},
"examples": {
"default": {
Expand Down
79 changes: 20 additions & 59 deletions cache/ghes-3.5.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "11.1.0",
"version": "11.1.1",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": {
Expand Down Expand Up @@ -7651,7 +7651,7 @@
"operationId": "gists/update",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/enterprise-server@3.5/rest/reference/gists/#update-a-gist"
"url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
},
"parameters": [
{
Expand All @@ -7663,6 +7663,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"description": {
"description": "The description of the gist.",
Expand All @@ -7679,29 +7680,20 @@
},
"type": "object",
"additionalProperties": {
"type": "object",
"nullable": true,
"properties": {
"content": {
"description": "The new content of the file.",
"type": "string"
},
"filename": {
"description": "The new filename for the file.",
"type": "string",
"nullable": true
}
},
"anyOf": [
{
"required": [
"content"
]
},
"oneOf": [
{
"required": [
"filename"
]
"type": "object",
"properties": {
"content": {
"description": "The new content of the file.",
"type": "string"
},
"filename": {
"description": "The new filename for the file.",
"type": "string",
"nullable": true
}
}
},
{
"type": "object",
Expand All @@ -7711,19 +7703,6 @@
}
}
},
"anyOf": [
{
"required": [
"description"
]
},
{
"required": [
"files"
]
}
],
"type": "object",
"nullable": true
},
"examples": {
Expand Down Expand Up @@ -41485,14 +41464,14 @@
},
"post": {
"summary": "Request reviewers for a pull request",
"description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.5/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
"description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
"tags": [
"pulls"
],
"operationId": "pulls/request-reviewers",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#request-reviewers-for-a-pull-request"
"url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
},
"parameters": [
{
Expand Down Expand Up @@ -41526,19 +41505,7 @@
"type": "string"
}
}
},
"anyOf": [
{
"required": [
"reviewers"
]
},
{
"required": [
"team_reviewers"
]
}
]
}
},
"examples": {
"default": {
Expand Down Expand Up @@ -41587,13 +41554,7 @@
"category": "pulls",
"subcategory": "review-requests"
},
"x-octokit": {
"diff": {
"ghes-3.6": {
"type": "changed"
}
}
}
"x-octokit": {}
},
"delete": {
"summary": "Remove requested reviewers from a pull request",
Expand Down
Loading

0 comments on commit 032e20f

Please sign in to comment.