Skip to content

Commit

Permalink
Update OpenAPI Descriptions (github#21889)
Browse files Browse the repository at this point in the history
* Update OpenAPI Descriptions
  • Loading branch information
github-openapi-bot authored Oct 5, 2021
1 parent bd72aeb commit 9ca7c41
Show file tree
Hide file tree
Showing 12 changed files with 130 additions and 237 deletions.
50 changes: 13 additions & 37 deletions lib/rest/static/decorated/api.github.com.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions lib/rest/static/decorated/ghes-2.22.json
Original file line number Diff line number Diff line change
Expand Up @@ -33521,16 +33521,16 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "repos",
"subcategory": "branches",
"previews": [
{
"required": true,
"name": "zzzax",
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```",
"html": "<p>Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the <a href=\"https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures\">blog post</a> for full details. To access the API during the preview period, you must provide a custom <a href=\"https://docs.github.com/[email protected]/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.zzzax-preview+json</code></pre>"
}
],
"category": "repos",
"subcategory": "branches"
]
},
"slug": "get-commit-signature-protection",
"category": "repos",
Expand Down Expand Up @@ -33614,16 +33614,16 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "repos",
"subcategory": "branches",
"previews": [
{
"required": true,
"name": "zzzax",
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```",
"html": "<p>Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the <a href=\"https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures\">blog post</a> for full details. To access the API during the preview period, you must provide a custom <a href=\"https://docs.github.com/[email protected]/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.zzzax-preview+json</code></pre>"
}
],
"category": "repos",
"subcategory": "branches"
]
},
"slug": "create-commit-signature-protection",
"category": "repos",
Expand Down Expand Up @@ -33707,16 +33707,16 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "repos",
"subcategory": "branches",
"previews": [
{
"required": true,
"name": "zzzax",
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```",
"html": "<p>Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the <a href=\"https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures\">blog post</a> for full details. To access the API during the preview period, you must provide a custom <a href=\"https://docs.github.com/[email protected]/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.zzzax-preview+json</code></pre>"
}
],
"category": "repos",
"subcategory": "branches"
]
},
"slug": "delete-commit-signature-protection",
"category": "repos",
Expand Down
20 changes: 10 additions & 10 deletions lib/rest/static/decorated/ghes-3.0.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions lib/rest/static/decorated/ghes-3.1.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions lib/rest/static/decorated/ghes-3.2.json

Large diffs are not rendered by default.

50 changes: 13 additions & 37 deletions lib/rest/static/decorated/github.ae.json

Large diffs are not rendered by default.

30 changes: 1 addition & 29 deletions lib/rest/static/dereferenced/api.github.com.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -155575,13 +155575,6 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [
{
"required": true,
"name": "zzzax",
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```"
}
],
"category": "repos",
"subcategory": "branches"
}
Expand Down Expand Up @@ -155691,13 +155684,6 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [
{
"required": true,
"name": "zzzax",
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```"
}
],
"category": "repos",
"subcategory": "branches"
}
Expand Down Expand Up @@ -155775,13 +155761,6 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [
{
"required": true,
"name": "zzzax",
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```"
}
],
"category": "repos",
"subcategory": "branches"
}
Expand Down Expand Up @@ -178262,9 +178241,6 @@
"readOnly": true,
"nullable": false
},
"instances": {
"deprecated": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
Expand Down Expand Up @@ -178661,8 +178637,7 @@
"test"
]
},
"instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances",
"instances": null
"instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances"
}
}
}
Expand Down Expand Up @@ -178867,9 +178842,6 @@
"readOnly": true,
"nullable": false
},
"instances": {
"deprecated": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
Expand Down
30 changes: 15 additions & 15 deletions lib/rest/static/dereferenced/ghes-2.22.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -128804,15 +128804,15 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "repos",
"subcategory": "branches",
"previews": [
{
"required": true,
"name": "zzzax",
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```"
}
],
"category": "repos",
"subcategory": "branches"
]
}
},
"post": {
Expand Down Expand Up @@ -128920,15 +128920,15 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "repos",
"subcategory": "branches",
"previews": [
{
"required": true,
"name": "zzzax",
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```"
}
],
"category": "repos",
"subcategory": "branches"
]
}
},
"delete": {
Expand Down Expand Up @@ -129004,15 +129004,15 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "repos",
"subcategory": "branches",
"previews": [
{
"required": true,
"name": "zzzax",
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```"
}
],
"category": "repos",
"subcategory": "branches"
]
}
}
},
Expand Down Expand Up @@ -149913,9 +149913,6 @@
"readOnly": true,
"nullable": false
},
"instances": {
"deprecated": true
},
"state": {
"type": "string",
"description": "State of a code scanning alert.",
Expand Down Expand Up @@ -150128,6 +150125,9 @@
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
}
}
},
"instances": {
"deprecated": true
}
},
"required": [
Expand Down Expand Up @@ -150437,9 +150437,6 @@
"readOnly": true,
"nullable": false
},
"instances": {
"deprecated": true
},
"state": {
"type": "string",
"description": "State of a code scanning alert.",
Expand Down Expand Up @@ -150652,6 +150649,9 @@
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
}
}
},
"instances": {
"deprecated": true
}
},
"required": [
Expand Down
Loading

0 comments on commit 9ca7c41

Please sign in to comment.