Skip to content

Commit 7513ac8

Browse files
authored
fix: types bumps and docs URL updates (#592)
WIP octokit/openapi updated
1 parent decdf84 commit 7513ac8

File tree

4 files changed

+30
-30
lines changed

4 files changed

+30
-30
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"description": "Shared TypeScript definitions for Octokit projects",
88
"dependencies": {
9-
"@octokit/openapi-types": "^19.0.1"
9+
"@octokit/openapi-types": "^19.0.2"
1010
},
1111
"scripts": {
1212
"build": "node scripts/build.mjs && tsc -p tsconfig.json",
@@ -80,6 +80,6 @@
8080
]
8181
},
8282
"octokit": {
83-
"openapi-version": "13.1.0"
83+
"openapi-version": "13.2.0"
8484
}
8585
}

scripts/update-endpoints/generated/endpoints.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11414,7 +11414,7 @@
1141411414
{
1141511415
"method": "POST",
1141611416
"url": "/repos/{owner}/{repo}/hooks",
11417-
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook",
11417+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook",
1141811418
"parameters": [
1141911419
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1142011420
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -11764,7 +11764,7 @@
1176411764
{
1176511765
"method": "DELETE",
1176611766
"url": "/repos/{owner}/{repo}/hooks/{hook_id}",
11767-
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook",
11767+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook",
1176811768
"parameters": [
1176911769
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1177011770
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -12661,7 +12661,7 @@
1266112661
{
1266212662
"method": "GET",
1266312663
"url": "/repos/{owner}/{repo}/hooks/{hook_id}",
12664-
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook",
12664+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook",
1266512665
"parameters": [
1266612666
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1266712667
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -12672,7 +12672,7 @@
1267212672
{
1267312673
"method": "GET",
1267412674
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/config",
12675-
"documentationUrl": "https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository",
12675+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository",
1267612676
"parameters": [
1267712677
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1267812678
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -12683,7 +12683,7 @@
1268312683
{
1268412684
"method": "GET",
1268512685
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}",
12686-
"documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook",
12686+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook",
1268712687
"parameters": [
1268812688
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1268912689
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -13131,7 +13131,7 @@
1313113131
{
1313213132
"method": "GET",
1313313133
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries",
13134-
"documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook",
13134+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook",
1313513135
"parameters": [
1313613136
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1313713137
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -13145,7 +13145,7 @@
1314513145
{
1314613146
"method": "GET",
1314713147
"url": "/repos/{owner}/{repo}/hooks",
13148-
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#list-repository-webhooks",
13148+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#list-repository-webhooks",
1314913149
"parameters": [
1315013150
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1315113151
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -13186,7 +13186,7 @@
1318613186
{
1318713187
"method": "POST",
1318813188
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/pings",
13189-
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook",
13189+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook",
1319013190
"parameters": [
1319113191
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1319213192
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -13197,7 +13197,7 @@
1319713197
{
1319813198
"method": "POST",
1319913199
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts",
13200-
"documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook",
13200+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook",
1320113201
"parameters": [
1320213202
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1320313203
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -13371,7 +13371,7 @@
1337113371
{
1337213372
"method": "POST",
1337313373
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/tests",
13374-
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook",
13374+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook",
1337513375
"parameters": [
1337613376
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1337713377
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -14378,7 +14378,7 @@
1437814378
{
1437914379
"method": "PATCH",
1438014380
"url": "/repos/{owner}/{repo}/hooks/{hook_id}",
14381-
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook",
14381+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook",
1438214382
"parameters": [
1438314383
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1438414384
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
@@ -14430,7 +14430,7 @@
1443014430
{
1443114431
"method": "PATCH",
1443214432
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/config",
14433-
"documentationUrl": "https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository",
14433+
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository",
1443414434
"parameters": [
1443514435
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
1443614436
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },

src/generated/Endpoints.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ export interface Endpoints {
697697
"delete"
698698
>;
699699
/**
700-
* @see https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook
700+
* @see https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook
701701
*/
702702
"DELETE /repos/{owner}/{repo}/hooks/{hook_id}": Operation<
703703
"/repos/{owner}/{repo}/hooks/{hook_id}",
@@ -2941,35 +2941,35 @@ export interface Endpoints {
29412941
"get"
29422942
>;
29432943
/**
2944-
* @see https://docs.github.com/rest/webhooks/repos#list-repository-webhooks
2944+
* @see https://docs.github.com/rest/repos/webhooks#list-repository-webhooks
29452945
*/
29462946
"GET /repos/{owner}/{repo}/hooks": Operation<
29472947
"/repos/{owner}/{repo}/hooks",
29482948
"get"
29492949
>;
29502950
/**
2951-
* @see https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook
2951+
* @see https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook
29522952
*/
29532953
"GET /repos/{owner}/{repo}/hooks/{hook_id}": Operation<
29542954
"/repos/{owner}/{repo}/hooks/{hook_id}",
29552955
"get"
29562956
>;
29572957
/**
2958-
* @see https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository
2958+
* @see https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository
29592959
*/
29602960
"GET /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<
29612961
"/repos/{owner}/{repo}/hooks/{hook_id}/config",
29622962
"get"
29632963
>;
29642964
/**
2965-
* @see https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook
2965+
* @see https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook
29662966
*/
29672967
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries": Operation<
29682968
"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries",
29692969
"get"
29702970
>;
29712971
/**
2972-
* @see https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook
2972+
* @see https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook
29732973
*/
29742974
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<
29752975
"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}",
@@ -4381,14 +4381,14 @@ export interface Endpoints {
43814381
"patch"
43824382
>;
43834383
/**
4384-
* @see https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook
4384+
* @see https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook
43854385
*/
43864386
"PATCH /repos/{owner}/{repo}/hooks/{hook_id}": Operation<
43874387
"/repos/{owner}/{repo}/hooks/{hook_id}",
43884388
"patch"
43894389
>;
43904390
/**
4391-
* @see https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository
4391+
* @see https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository
43924392
*/
43934393
"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<
43944394
"/repos/{owner}/{repo}/hooks/{hook_id}/config",
@@ -5109,28 +5109,28 @@ export interface Endpoints {
51095109
"post"
51105110
>;
51115111
/**
5112-
* @see https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook
5112+
* @see https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook
51135113
*/
51145114
"POST /repos/{owner}/{repo}/hooks": Operation<
51155115
"/repos/{owner}/{repo}/hooks",
51165116
"post"
51175117
>;
51185118
/**
5119-
* @see https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook
5119+
* @see https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook
51205120
*/
51215121
"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": Operation<
51225122
"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts",
51235123
"post"
51245124
>;
51255125
/**
5126-
* @see https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook
5126+
* @see https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook
51275127
*/
51285128
"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings": Operation<
51295129
"/repos/{owner}/{repo}/hooks/{hook_id}/pings",
51305130
"post"
51315131
>;
51325132
/**
5133-
* @see https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook
5133+
* @see https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook
51345134
*/
51355135
"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests": Operation<
51365136
"/repos/{owner}/{repo}/hooks/{hook_id}/tests",

0 commit comments

Comments
 (0)