Skip to content

Commit

Permalink
fix: remove now-defunkt OAuth Authorizations APIs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
timrogers committed Aug 15, 2022
1 parent 85ed85f commit 79d6ba1
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/generated/paginating-endpoints.ts
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 79d6ba1

Please sign in to comment.