Also known as: OAS; OpenAPI 3; Swagger; Describing RESTful APIs with OpenAPI 3 (GOV.UK)
Theme
Data & Technology
Status
Established
Description
The OpenAPI Specification helps organisations that build or use web APIs to describe what an API does in a standard, machine-readable way, so that developers can understand and use it quickly, and tools can automatically produce documentation, code and tests.
Users include government departments, businesses and software developers. A clear description means developers do not have to read source code or guess how an API works.
The standard provides a format, written in JSON or YAML, for describing an API's operations, the information each one needs, the responses it returns, how users are authenticated and the data structures involved.
The UK government recommends OpenAPI 3 for describing RESTful APIs. It is maintained by the OpenAPI Initiative, part of the Linux Foundation, and released under the Apache 2.0 licence; version 3.2.1 is current.
Licence
Apache 2.0
Mandation
-
UK Gov DSA
Mandated for UK Public Sector use by Data Standards Authority
Standard
Metadata last updated
2 December 2026