Back to glossary
What is an OpenAPI Specification?
A machine-readable description of a REST API's endpoints, parameters, and responses.
An OpenAPI Specification (formerly Swagger) is a standardized JSON/YAML file that describes every endpoint, request parameter, response format, and authentication method of a REST API. It enables automatic SDK generation, documentation, and AI tool integration.
Zateway's OpenAPI Spec
Zateway publishes its OpenAPI 3.0 specification at /openapi.json. This allows developers to auto-generate client libraries in any language, and enables AI agents to programmatically discover and use the payment API.