Skip to content

Commit

Permalink
fix: update response examples and bump package versions (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored Jun 28, 2022
1 parent e71c9f0 commit 47afdca
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 50 deletions.
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT",
"dependencies": {
"@octokit/types": "^6.28.1"
"@octokit/types": "^6.38.0"
},
"peerDependencies": {
"@octokit/core": ">=3"
Expand Down
33 changes: 28 additions & 5 deletions scripts/update-endpoints/generated/ghe32-endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
{
"code": 201,
"description": "Response when creating a secret",
"examples": null
"examples": [{ "data": "null" }]
},
{
"code": 204,
Expand Down Expand Up @@ -314,7 +314,7 @@
{
"code": 201,
"description": "Response when creating a secret",
"examples": null
"examples": [{ "data": "null" }]
},
{
"code": 204,
Expand Down Expand Up @@ -1291,7 +1291,10 @@
"deprecated": null
}
],
"responses": [{ "code": 302, "description": "Response", "examples": null }],
"responses": [
{ "code": 302, "description": "Response", "examples": null },
{ "code": 410, "description": "Gone", "examples": null }
],
"renamed": null
},
{
Expand Down Expand Up @@ -5282,7 +5285,17 @@
"deprecated": null
}
],
"responses": [{ "code": 200, "description": "Response", "examples": null }],
"responses": [
{
"code": 200,
"description": "Response",
"examples": [
{
"data": "[{\"id\":\"22237752260\",\"type\":\"WatchEvent\",\"actor\":{\"id\":583231,\"login\":\"octocat\",\"display_login\":\"octocat\",\"gravatar_id\":\"\",\"url\":\"https://github.com/gitapi/users/octocat\",\"avatar_url\":\"https://github.com/avatars/u/583231?v=4\"},\"repo\":{\"id\":1296269,\"name\":\"octo-org/octo-repo\",\"url\":\"https://github.com/gitapi/repos/octo-org/octo-repo\"},\"payload\":{\"action\":\"started\"},\"public\":true,\"created_at\":\"2022-06-08T23:29:25Z\"},{\"id\":\"22249084964\",\"type\":\"PushEvent\",\"actor\":{\"id\":583231,\"login\":\"octocat\",\"display_login\":\"octocat\",\"gravatar_id\":\"\",\"url\":\"https://github.com/gitapi/users/octocat\",\"avatar_url\":\"https://github.com/avatars/u/583231?v=4\"},\"repo\":{\"id\":1296269,\"name\":\"octo-org/octo-repo\",\"url\":\"https://github.com/gitapi/repos/octo-org/oct-repo\"},\"payload\":{\"push_id\":10115855396,\"size\":1,\"distinct_size\":1,\"ref\":\"refs/heads/master\",\"head\":\"7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300\",\"before\":\"883efe034920928c47fe18598c01249d1a9fdabd\",\"commits\":[{\"sha\":\"7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300\",\"author\":{\"email\":\"octocat@github.com\",\"name\":\"Monalisa Octocat\"},\"message\":\"commit\",\"distinct\":true,\"url\":\"https://github.com/gitapi/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300\"}]},\"public\":true,\"created_at\":\"2022-06-09T12:47:28Z\"}]"
}
]
}
],
"renamed": null
},
{
Expand Down Expand Up @@ -5483,7 +5496,17 @@
"deprecated": null
}
],
"responses": [{ "code": 200, "description": "Response", "examples": null }],
"responses": [
{
"code": 200,
"description": "Response",
"examples": [
{
"data": "[{\"id\":\"22249084964\",\"type\":\"PushEvent\",\"actor\":{\"id\":583231,\"login\":\"octocat\",\"display_login\":\"octocat\",\"gravatar_id\":\"\",\"url\":\"https://github.com/gitapi/users/octocat\",\"avatar_url\":\"https://github.com/avatars/u/583231?v=4\"},\"repo\":{\"id\":1296269,\"name\":\"octocat/Hello-World\",\"url\":\"https://github.com/gitapi/repos/octocat/Hello-World\"},\"payload\":{\"push_id\":10115855396,\"size\":1,\"distinct_size\":1,\"ref\":\"refs/heads/master\",\"head\":\"7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300\",\"before\":\"883efe034920928c47fe18598c01249d1a9fdabd\",\"commits\":[{\"sha\":\"7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300\",\"author\":{\"email\":\"octocat@github.com\",\"name\":\"Monalisa Octocat\"},\"message\":\"commit\",\"distinct\":true,\"url\":\"https://github.com/gitapi/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300\"}]},\"public\":true,\"created_at\":\"2022-06-09T12:47:28Z\"},{\"id\":\"22237752260\",\"type\":\"WatchEvent\",\"actor\":{\"id\":583231,\"login\":\"octocat\",\"display_login\":\"octocat\",\"gravatar_id\":\"\",\"url\":\"https://github.com/gitapi/users/octocat\",\"avatar_url\":\"https://github.com/avatars/u/583231?v=4\"},\"repo\":{\"id\":1296269,\"name\":\"octocat/Hello-World\",\"url\":\"https://github.com/gitapi/repos/octocat/Hello-World\"},\"payload\":{\"action\":\"started\"},\"public\":true,\"created_at\":\"2022-06-08T23:29:25Z\"}]"
}
]
}
],
"renamed": null
},
{
Expand Down
35 changes: 29 additions & 6 deletions scripts/update-endpoints/generated/ghe33-endpoints.json

Large diffs are not rendered by default.

43 changes: 33 additions & 10 deletions scripts/update-endpoints/generated/ghe34-endpoints.json

Large diffs are not rendered by default.

59 changes: 46 additions & 13 deletions scripts/update-endpoints/generated/ghe35-endpoints.json

Large diffs are not rendered by default.

0 comments on commit 47afdca

Please sign in to comment.