Skip to content

Deprecating Preview APIs

Mike Harder edited this page Dec 8, 2025 · 4 revisions

Spec owners are encouraged to remove old preview API versions from the specs repo, once they are retired from the service.

Policies

Process

  1. Open a PR deleting one (or more) previews. All of:
    1. TypeSpec sources (*.tsp)
    2. Example sources (examples closest to *.tsp files)
    3. Generated swaggers and examples (preview/YYYY-MM-DD-preview/**)
    4. readme.md (remove tags)
  2. PR should fail check Swagger BreakingChange, but pass all other checks.
  3. Request approval following the normal process for breaking changes

Example

Clone this wiki locally