OrganizationIndustry consortium

OpenAPI Initiative

Also known as: OAI

Linux Foundation consortium that maintains the OpenAPI Specification, a vendor-neutral standard for describing HTTP APIs in machine-readable form.

The OpenAPI Initiative (OAI) is an open governance project under the Linux Foundation that develops and maintains the OpenAPI Specification (OAS), a standard way to describe HTTP-based APIs. An OpenAPI document, written in JSON or YAML, lists an API's endpoints, operations, parameters, request and response formats and authentication methods in a form that both people and machines can read. Tools can then use the description to generate documentation, client libraries, server stubs, tests and mock servers, keeping them consistent with the API's actual design.

The specification began as Swagger, an open-source format and toolset for describing APIs created in the early 2010s. In 2015 the company SmartBear, which then owned Swagger, contributed the specification to the newly formed OpenAPI Initiative, whose founding members included major technology companies such as Google, IBM and Microsoft. The format was renamed the OpenAPI Specification; version 3.0, a major revision, was released in 2017, followed by 3.1 in 2021, which aligned the format with JSON Schema. The initiative has also added companion specifications, such as Arazzo for describing sequences of API calls.

OpenAPI has become the most widely used format for describing REST APIs, supported by API gateways, developer portals, testing tools and code generators. A shared description format improves interoperability and lets teams design an API before building it, an approach often called API-first development. Machine-readable API descriptions have also become useful to AI agents, which can read them to learn how to call external services. The name Swagger lives on in a family of tools that work with the specification.

Key points

  • The OpenAPI Initiative maintains the OpenAPI Specification for describing HTTP APIs.
  • The specification began as Swagger and was contributed to the initiative by SmartBear in 2015.
  • OpenAPI documents enable automatic generation of documentation, client libraries, tests and mock servers.
  • Version 3.1, released in 2021, aligned the specification with JSON Schema.

In their own words

The OpenAPI Specifications provide a formal standard for describing HTTP APIs.

From openapis.org (opens in a new tab)

Related entries

Glossary term

API

Programming

Defined set of rules and interfaces through which one piece of software can request services or data from another without knowing its internals.

Glossary term

REST API

ProgrammingAI

Web interface that follows the REST architectural style, exposing resources at URLs that clients manipulate with stateless HTTP requests.

Glossary term

HTTP

ProgrammingCybersecurity

Stateless request-response protocol that web browsers, servers and other clients use to request and transfer resources such as web pages and data.

Glossary term

JSON

Programming

Lightweight, text-based data interchange format that represents structured data as nested objects and arrays, derived from JavaScript syntax.

Glossary term

YAML

ProgrammingDevOps

Human-readable data serialization language that uses indentation to express structure, widely used for configuration files and data exchange.

Glossary term

Open Standard

FOSSProgramming

Technical standard that is publicly available and developed through an open process, so anyone can implement it, usually without restrictive royalties.

Organization

Nonprofit consortium that supports the Linux kernel and hosts many major open-source projects, foundations, events and training programs.

Glossary term

Bundle of tools, libraries, documentation and samples that developers use to build software for a particular platform, device or service.