You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an update-endpoints script that will take the OpenAPI specification from @octokit/openapi, create/update a generated/rest-api-routes.js file, which would be an array of all REST API routes that GitHub supports
When sending a request, compare the given route to the known routes defined in generated/rest-api-routes.js. If the route is unknown, log a warning if the response is a 404.
No worries if that doesn't make sense @praneetloke, there is lots of inside knowledge behind how the automated updates work for the@octokit/* packages based updates to GitHub's OpenAPI specifications
The text was updated successfully, but these errors were encountered:
follow up to #80 (comment)
The setup would work similar to how https://github.com/octokit/plugin-paginate-rest.js updates src/generated/paginating-endpoints.ts.
update-endpoints
script that will take the OpenAPI specification from@octokit/openapi
, create/update agenerated/rest-api-routes.js
file, which would be an array of all REST API routes that GitHub supportsgenerated/rest-api-routes.js
. If the route is unknown, log a warning if the response is a 404.No worries if that doesn't make sense @praneetloke, there is lots of inside knowledge behind how the automated updates work for the
@octokit/*
packages based updates to GitHub's OpenAPI specificationsThe text was updated successfully, but these errors were encountered: