Learn OpenAPI
Machine-readable descriptions of HTTP APIs for docs, codegen and testing
The OpenAPI Specification is a standard, language-agnostic format (YAML or JSON) for describing HTTP APIs: their paths, parameters, request and response bodies, and security. From one OpenAPI document teams generate interactive documentation, client SDKs and server stubs, mock servers, and contract tests, making it the backbone of API-first development.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know