What problem does it solve?
OpenAPI contracts are the machine-readable contracts that drive automation for API design, validation, mocking, testing, and code generation. They serve as a single source of truth that enables AI agents and engineers to reason about endpoints, parameters, and schemas without ambiguity.
Core Features & Use Cases
- Design robust APIs with stable operation IDs, reusable components, and clear schemas.
- Validate and bundle multi-file specs using Redocly CLI.
- Generate type-safe clients, servers, and models with OpenAPI Generator.
- Mock APIs locally with Prism for frontend and integration testing.
- Exercise live services with contract tests using Schemathesis.
- Diff contracts to surface breaking changes with oasdiff.
Quick Start
Validate your OpenAPI document, bundle it if needed, and then perform generation or mocking with the provided scripts.