packages/openapi-slicer/BEFORE_AFTER.md

Before / after

Generated by pnpm slice from /private/tmp/claude-502/-Users-malek-gara-Projects-gitcafe-agent-kit/166e1e79-676e-4884-95ed-493f660a49ff/scratchpad/raw/openapi.json.

operationId

beforeafteroperation
getApiReposByOwnerByRepoPullslistPullRequestsGET /api/repos/{owner}/{repo}/pulls/
getApiReposByOwnerByRepoPullsByPrgetPullRequestGET /api/repos/{owner}/{repo}/pulls/{pr}
postApiReposByOwnerByRepoPullscreatePullRequestPOST /api/repos/{owner}/{repo}/pulls/
postApiReposByOwnerByRepoPullsByPrMergemergePullRequestPOST /api/repos/{owner}/{repo}/pulls/{pr}/merge
postApiReposByOwnerByRepoPullsByPrCloseclosePullRequestPOST /api/repos/{owner}/{repo}/pulls/{pr}/close
getApiReposByOwnerByRepoIssueslistIssuesGET /api/repos/{owner}/{repo}/issues/
postApiReposByOwnerByRepoIssuescreateIssuePOST /api/repos/{owner}/{repo}/issues/
deleteApiReposByOwnerByRepoIssuesByIssueLockunlockIssueDELETE /api/repos/{owner}/{repo}/issues/{issue}/lock
getApiReposlistRepositoriesGET /api/repos
getApiReposByOwnerByRepogetRepositoryGET /api/repos/{owner}/{repo}/
getApiReposByOwnerByRepoActionsRunslistRepoActionRunsGET /api/repos/{owner}/{repo}/actions/runs
postApiOrgsBySlugActionsRunnersRegistration-tokencreateOrgActionRunnerRegistrationTokenPOST /api/orgs/{slug}/actions/runners/registration-token

Longest original id: getApiReposByOwnerByRepoWebhooksByWebhookIdDeliveriesByDeliveryIdAttempts (73 chars) → listWebhookDeliveryAttempts. REST operations renamed: 547 of 547; webhook event ids (webhooks.issueCreated) are kept as-is.

What an agent has to load

artifactchars≈ tokens (chars/4)
full spec2,092,751523,188
largest slice (Pull Requests)475,683118,921
INDEX.md (all 619 operations)58,91514,729
ops/listPullRequests.json (one operation)44,67711,169
median single operation23,9145,979
median slice127,20531,801

Token numbers are a chars/4 estimate, not a tokenizer count.