⚠️ AutoRest Deprecation – Effective July 1, 2026 | Migration to TypeSpec

2 min read Original article ↗

🚨 AutoRest is deprecated effective July 1, 2026.

AutoRest has historically been used as a framework for API code generation, including built‑in and community generators for C#, Java, JavaScript / TypeScript, Python, Go, and custom plugins.

As of July 1, 2026:

  • ❌ AutoRest is no longer under active development
  • ❌ No new features, language generators, or plugins will be added
  • ⚠️ Critical fixes may be considered at maintainer discretion

The project remains available to support existing users during migration.


✅ Recommended Replacement: TypeSpec

➡️ TypeSpec is the recommended successor to AutoRest.

TypeSpec is a modern API description language and code generation platform, and represents the long‑term direction for API modeling and SDK generation.

🔗 Learn more

✨ Key benefits:

  • Expressive, reusable, and maintainable API modeling
  • Actively developed with long‑term investment
  • First‑class, maintained code generators
  • Can emit OpenAPI v2 and OpenAPI v3, allowing existing OpenAPI‑based workflows to continue after migration

📘 Learning & Tooling

To get started with TypeSpec:

The VS Code extension provides syntax highlighting, validation, navigation, and an improved authoring experience for TypeSpec.


🔁 Migration Considerations

⚠️ Migrating from AutoRest requires rewriting API definitions from OpenAPI v2.0 into TypeSpec syntax.

This is a non‑trivial investment, but one we believe is worthwhile due to:

  • ✅ Improved maintainability and clarity of API definitions
  • ✅ Active development and long‑term support
  • ✅ Alignment with the future direction of API description and code generation tooling

After migration, TypeSpec can still generate OpenAPI v2 or v3 documents as needed.


👥 Who Is Affected?

This deprecation affects:

  • Direct users of the AutoRest CLI
  • Built‑in AutoRest language generators (C#, Java, JS/TS, Python, Go)
  • Custom AutoRest plugins
  • CI/CD pipelines relying on AutoRest

🆘 Support & Questions

🔒 Microsoft internal teams

🌍 Everyone

This issue is the single source of truth for AutoRest deprecation updates and guidance.