forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update OpenAPI Descriptions (github#21889)
* Update OpenAPI Descriptions
- Loading branch information
1 parent
bd72aeb
commit 9ca7c41
Showing
12 changed files
with
130 additions
and
237 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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", | ||
|
@@ -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", | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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": { | ||
|
@@ -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": { | ||
|
@@ -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" | ||
] | ||
} | ||
} | ||
}, | ||
|
@@ -149913,9 +149913,6 @@ | |
"readOnly": true, | ||
"nullable": false | ||
}, | ||
"instances": { | ||
"deprecated": true | ||
}, | ||
"state": { | ||
"type": "string", | ||
"description": "State of a code scanning alert.", | ||
|
@@ -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": [ | ||
|
@@ -150437,9 +150437,6 @@ | |
"readOnly": true, | ||
"nullable": false | ||
}, | ||
"instances": { | ||
"deprecated": true | ||
}, | ||
"state": { | ||
"type": "string", | ||
"description": "State of a code scanning alert.", | ||
|
@@ -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": [ | ||
|
Oops, something went wrong.