Update OpenAPI Descriptions (#31578)
Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com> Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5073b71e65
commit
2effd8de30
@@ -88571,6 +88571,10 @@
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"subscribed": true,
|
||||
"ignored": false
|
||||
},
|
||||
"parameters": {
|
||||
"owner": "OWNER",
|
||||
"repo": "REPO"
|
||||
@@ -241395,6 +241399,10 @@
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"limit": "collaborators_only",
|
||||
"expiry": "one_month"
|
||||
},
|
||||
"parameters": {
|
||||
"org": "ORG"
|
||||
}
|
||||
@@ -383879,7 +383887,7 @@
|
||||
"type": "string",
|
||||
"name": "merge_method",
|
||||
"in": "body",
|
||||
"description": "<p>Merge method to use. Possible values are <code>merge</code>, <code>squash</code> or <code>rebase</code>. Default is <code>merge</code>.</p>",
|
||||
"description": "<p>The merge method to use.</p>",
|
||||
"enum": [
|
||||
"merge",
|
||||
"squash",
|
||||
@@ -383890,11 +383898,15 @@
|
||||
"enabledForGitHubApps": true,
|
||||
"codeExamples": [
|
||||
{
|
||||
"key": "default",
|
||||
"key": "response-if-merge-was-successful",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"commit_title": "Expand enum",
|
||||
"commit_message": "Add a new value to the merge_method enum"
|
||||
},
|
||||
"parameters": {
|
||||
"owner": "OWNER",
|
||||
"repo": "REPO",
|
||||
@@ -441091,7 +441103,14 @@
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json"
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"name": "Hello-World",
|
||||
"description": "This is your first repo!",
|
||||
"homepage": "https://github.com",
|
||||
"private": false,
|
||||
"is_template": true
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"statusCode": "201",
|
||||
@@ -448469,6 +448488,11 @@
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"organization": "octocat",
|
||||
"name": "Hello-World",
|
||||
"default_branch_only": true
|
||||
},
|
||||
"parameters": {
|
||||
"owner": "OWNER",
|
||||
"repo": "REPO"
|
||||
|
||||
Reference in New Issue
Block a user