Skip to content

242 operations removed from this spec without a deprecation notice #7370

Closed

Description

@NalinDalal

I scanned this repo’s spec history for operations that disappeared without a deprecated: true marker first, and found 242 of them. Three recent ones, with the commit that removed each:

method path removed commit
GET /enterprises/{enterprise}/members/{username}/teams 2026-09-22 0114920
GET /enterprises/{enterprise}/teams 2026-09-22 0114920
POST /enterprises/{enterprise}/teams 2026-09-22 0114920

The practical cost is that a client generated from an older commit keeps calling an endpoint that no longer exists, and the break surfaces in production instead of at build time.

I’m building DriftLock, which detects exactly this kind of drift between a published spec and the code that consumes it. Two things I can do if useful, no strings:

  • send the full list for this repo as a CSV, or
  • open a PR that adds deprecated: true + x-removal-date before the next removal, so consumers get a compile-time warning

No action needed if these were announced elsewhere and the removals were deliberate — in that case I’d like to know where, so the detector can read that channel too.

(Separately: 40 operations in this repo are currently marked deprecated and still present, oldest 2280 days — that part looks intentional, not a problem.)

Activity

  1. lildude commented on Oct 26, 2026

    @lildude
    Member

    This is an expected change for these three paths that didn't need a deprecation warning as these were incorrectly published for the free GitHub.com product. Enterprise Teams are only available for paid GitHub Enterprise accounts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions