Swift.org API Documentation
The Swift.org website provides HTTP APIs that vends information about toolchain releases, Swift evolution proposals, and more.
The APIs are documented using OpenAPI.
Browsable API documentation
Rendered documentation of the APIs can be browsed here.
Downloadable OpenAPI documents
The machine-readable document can be downloaded from the following URLs:
- swift.org API:
https://swift.org/openapi/swiftorg.yaml
- download.swift.org API:
https://swift.org/openapi/downloadswiftorg.yaml
Generating a client in Swift
You can generate a type-safe client from OpenAPI documents using Swift OpenAPI Generator.