azure-rest-api-specs is a free, open source api development & testing project written in TypeSpec and released under MIT. It has 3,111 GitHub stars, 6,026 forks and 3,379 open issues, and was last pushed 16 hours ago. On this registry it ranks #84 of 186 tracked projects in API Development & Testing, with 5 head-to-head comparisons available. It gained 16 stars over the last 30 tracked days.

What is azure-rest-api-specs?

azure-rest-api-specs is the canonical public repository that holds the REST API specifications for Microsoft Azure, written primarily in TypeSpec and OpenAPI, and it is intended for Microsoft engineers and external contributors who author, review, or consume those specifications.

What it is

This repository lives in the Azure SDK ecosystem as the source of truth for Azure service API definitions. It is MIT licensed, carries 3093 stars and 5958 forks, and had its most recent push on 2026-09-18. The topic list — azure, cloud, openapi, rest, swagger — describes the surface area precisely: cloud service APIs described in OpenAPI and TypeSpec. TypeSpec is the primary language, and the repo also documents the OpenAPI path for contributors who work with that format.

The concrete problem it solves is fragmentation. Rather than letting every Azure service team keep its own spec in its own repository with its own layout, this repository collects the definitions in one place under a documented directory structure and a shared contribution flow. The specific thing it replaces is that scattered, per-service arrangement of spec files: the README states that the next step after a completed spec is generating SDKs and API reference documentation, which makes this repository the upstream input for both artifacts. It covers both data plane APIs and management plane (ARM) APIs, and it supplies sample tspconfig configurations as starting points for each.

Key capabilities

  • Authors specifications in TypeSpec as the primary language, with an OpenAPI path documented alongside it.
  • Provides a data plane tspconfig sample at aka.ms/azsdk/tspconfig-sample-dpg and a management plane (ARM) sample at aka.ms/azsdk/tspconfig-sample-mpg.
  • Defines the expected repository directory structure, documented at aka.ms/azsdk/spec-dirs.
  • Feeds downstream SDK generation and API reference documentation as the declared next step after a spec is completed.
  • Ships contributor onboarding guides as Getting started with OpenAPI specifications.md and Getting-started-with-TypeSpec-specifications.md in the documentation/ folder.
  • Operates under the Microsoft Open Source Code of Conduct, with contact at opencode@microsoft.com.
  • Tags the project under azure, cloud, openapi, rest, and swagger for discovery.

Who uses it and how

  • Microsoft employees working on Azure SDK library releases use aka.ms/azsdk/join for the repository list and release steps, and the Azure SDK internal wiki for deeper process detail.
  • External contributors follow the two documentation/ guides to add or update OpenAPI and TypeSpec specifications without internal access.
  • Service teams adding or revising a resource provider API author the spec here first, then let SDK generation and API reference builds consume it.
  • The fork-to-star ratio (5958 forks against 3093 stars) reflects a read-and-copy pattern, where teams fork to propose spec changes or lift the layout as a template.

Getting started

The README describes no install command, package, Docker image, or compose file; it is a documentation and specification repository rather than a runnable tool. Microsoft employees begin at aka.ms/azsdk/join, and external contributors begin with the Getting started with OpenAPI specifications and Getting started with TypeSpec specifications guides in the documentation/ folder.

How it compares

No list of paid products this project replaces is provided in the facts, and no comparable tools are named either, so it stands alone in this registry. Judged on what the facts do support, its distinguishing property is that it is MIT licensed and openly readable, which is the opposite of a closed, vendor-hosted API catalog.

When to use it — and when not to

Choose this repository when the goal is to author, review, or consume Azure service API definitions in TypeSpec or OpenAPI and to feed SDK generation from them; it requires no database, object storage, or SMTP setup, because there is nothing to operate. Do not pick it as an API gateway, a spec-hosting service, or a drop-in substitute for a general OpenAPI toolchain, since it ships no installable artifact and no packaged release. The honest weaknesses are that the README is largely an index of aka.ms short links, several of which are aimed at Microsoft employees, and that 3379 open issues indicate a high-volume review queue rather than a quiet, self-contained library.

project readme (upstream, from github) — read inline

Azure REST API Specifications

Description

This repository is the canonical source for REST API specifications for Microsoft Azure. You can learn more about it here.

Getting started

If you're a Microsoft employee looking for information about all of the repositories and steps for Azure SDK Libraries Releases, go to the aka.ms/azsdk/join.

External Contributors can read Getting Started with OpenAPI Specifications and Getting Started with TypeSpec Specifications.

Directory Structure

See aka.ms/azsdk/spec-dirs.

Examples

These examples provide a starting point for how a library should be structured, as well as the expected options that libraries should use:

Next steps

The next step in the process after a spec is completed is to generate SDKs and API reference documentation. If you're a Microsoft employee, go to the Azure SDK - Internal Wiki for more information.

External Contributors can read Getting Started with OpenAPI Specifications and Getting Started with TypeSpec Specifications.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Frequently asked questions

Is azure-rest-api-specs free to use?

azure-rest-api-specs is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does azure-rest-api-specs do?

The source for REST API specifications for Microsoft Azure.

What is azure-rest-api-specs written in?

azure-rest-api-specs is primarily written in TypeSpec. Its source is publicly available at https://github.com/Azure/azure-rest-api-specs, and it has 3,111 GitHub stars.