From 79d6ba1453a31801ab2d01c42e41675fd6adf6a9 Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Mon, 15 Aug 2022 12:41:30 +0100 Subject: [PATCH] fix: remove now-defunkt OAuth Authorizations APIs BREAKING CHANGE: This removes the now-defunkt OAuth Authorizations APIs from the OpenAPI specifications. These were disabled and cut off on GitHub.com at the end of 2020, but the docs were not updated. --- src/generated/paginating-endpoints.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/generated/paginating-endpoints.ts b/src/generated/paginating-endpoints.ts index 35a535c..31a72d6 100644 --- a/src/generated/paginating-endpoints.ts +++ b/src/generated/paginating-endpoints.ts @@ -17,22 +17,6 @@ export interface PaginatingEndpoints { response: Endpoints["GET /app/installations"]["response"]; }; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#list-your-grants - */ - "GET /applications/grants": { - parameters: Endpoints["GET /applications/grants"]["parameters"]; - response: Endpoints["GET /applications/grants"]["response"]; - }; - - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations - */ - "GET /authorizations": { - parameters: Endpoints["GET /authorizations"]["parameters"]; - response: Endpoints["GET /authorizations"]["response"]; - }; - /** * @see https://docs.github.com/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise */ @@ -1835,8 +1819,6 @@ export interface PaginatingEndpoints { export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [ "GET /app/hook/deliveries", "GET /app/installations", - "GET /applications/grants", - "GET /authorizations", "GET /enterprises/{enterprise}/actions/permissions/organizations", "GET /enterprises/{enterprise}/actions/runner-groups", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations",