Skip to content

Commit

Permalink
fix: types bumps and docs URL updates (#592)
Browse files Browse the repository at this point in the history
WIP octokit/openapi updated
  • Loading branch information
octokitbot committed Oct 25, 2023
1 parent decdf84 commit 7513ac8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 30 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -6,7 +6,7 @@
},
"description": "Shared TypeScript definitions for Octokit projects",
"dependencies": {
"@octokit/openapi-types": "^19.0.1"
"@octokit/openapi-types": "^19.0.2"
},
"scripts": {
"build": "node scripts/build.mjs && tsc -p tsconfig.json",
Expand Down Expand Up @@ -80,6 +80,6 @@
]
},
"octokit": {
"openapi-version": "13.1.0"
"openapi-version": "13.2.0"
}
}
24 changes: 12 additions & 12 deletions scripts/update-endpoints/generated/endpoints.json
Expand Up @@ -11414,7 +11414,7 @@
{
"method": "POST",
"url": "/repos/{owner}/{repo}/hooks",
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand Down Expand Up @@ -11764,7 +11764,7 @@
{
"method": "DELETE",
"url": "/repos/{owner}/{repo}/hooks/{hook_id}",
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand Down Expand Up @@ -12661,7 +12661,7 @@
{
"method": "GET",
"url": "/repos/{owner}/{repo}/hooks/{hook_id}",
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand All @@ -12672,7 +12672,7 @@
{
"method": "GET",
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/config",
"documentationUrl": "https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand All @@ -12683,7 +12683,7 @@
{
"method": "GET",
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}",
"documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand Down Expand Up @@ -13131,7 +13131,7 @@
{
"method": "GET",
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries",
"documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand All @@ -13145,7 +13145,7 @@
{
"method": "GET",
"url": "/repos/{owner}/{repo}/hooks",
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#list-repository-webhooks",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#list-repository-webhooks",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand Down Expand Up @@ -13186,7 +13186,7 @@
{
"method": "POST",
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/pings",
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand All @@ -13197,7 +13197,7 @@
{
"method": "POST",
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts",
"documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand Down Expand Up @@ -13371,7 +13371,7 @@
{
"method": "POST",
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/tests",
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand Down Expand Up @@ -14378,7 +14378,7 @@
{
"method": "PATCH",
"url": "/repos/{owner}/{repo}/hooks/{hook_id}",
"documentationUrl": "https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand Down Expand Up @@ -14430,7 +14430,7 @@
{
"method": "PATCH",
"url": "/repos/{owner}/{repo}/hooks/{hook_id}/config",
"documentationUrl": "https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository",
"documentationUrl": "https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
Expand Down
24 changes: 12 additions & 12 deletions src/generated/Endpoints.ts
Expand Up @@ -697,7 +697,7 @@ export interface Endpoints {
"delete"
>;
/**
* @see https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook
* @see https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook
*/
"DELETE /repos/{owner}/{repo}/hooks/{hook_id}": Operation<
"/repos/{owner}/{repo}/hooks/{hook_id}",
Expand Down Expand Up @@ -2941,35 +2941,35 @@ export interface Endpoints {
"get"
>;
/**
* @see https://docs.github.com/rest/webhooks/repos#list-repository-webhooks
* @see https://docs.github.com/rest/repos/webhooks#list-repository-webhooks
*/
"GET /repos/{owner}/{repo}/hooks": Operation<
"/repos/{owner}/{repo}/hooks",
"get"
>;
/**
* @see https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook
* @see https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook
*/
"GET /repos/{owner}/{repo}/hooks/{hook_id}": Operation<
"/repos/{owner}/{repo}/hooks/{hook_id}",
"get"
>;
/**
* @see https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository
* @see https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository
*/
"GET /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<
"/repos/{owner}/{repo}/hooks/{hook_id}/config",
"get"
>;
/**
* @see https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook
* @see https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook
*/
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries": Operation<
"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries",
"get"
>;
/**
* @see https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook
* @see https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook
*/
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<
"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}",
Expand Down Expand Up @@ -4381,14 +4381,14 @@ export interface Endpoints {
"patch"
>;
/**
* @see https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook
* @see https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook
*/
"PATCH /repos/{owner}/{repo}/hooks/{hook_id}": Operation<
"/repos/{owner}/{repo}/hooks/{hook_id}",
"patch"
>;
/**
* @see https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository
* @see https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository
*/
"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<
"/repos/{owner}/{repo}/hooks/{hook_id}/config",
Expand Down Expand Up @@ -5109,28 +5109,28 @@ export interface Endpoints {
"post"
>;
/**
* @see https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook
* @see https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook
*/
"POST /repos/{owner}/{repo}/hooks": Operation<
"/repos/{owner}/{repo}/hooks",
"post"
>;
/**
* @see https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook
* @see https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook
*/
"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": Operation<
"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts",
"post"
>;
/**
* @see https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook
* @see https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook
*/
"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings": Operation<
"/repos/{owner}/{repo}/hooks/{hook_id}/pings",
"post"
>;
/**
* @see https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook
* @see https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook
*/
"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests": Operation<
"/repos/{owner}/{repo}/hooks/{hook_id}/tests",
Expand Down

0 comments on commit 7513ac8

Please sign in to comment.