software · Q886
Specmatic
Specification-driven API contracts, mocks and compatibility checks with open-source and Enterprise editions.
Overview
Specmatic turns API specifications into executable contracts for testing and service simulation. Its open-source core and commercial offerings use specifications as shared inputs for provider checks, mock behavior and compatibility analysis, with protocol coverage varying by edition.[2][3]
Specification-driven development
The workflow starts from an API definition rather than a collection of consumer-generated interaction files. Specmatic uses that definition to test an implementation and to provide mock services for dependent applications. Expectations supplied to a mock are checked against the contract, helping reveal divergence between examples and the agreed interface. The approach relies on keeping the specification meaningful as the implementation evolves.[2]
Checking changes at different levels
Specmatic distinguishes interface compatibility between specification versions from example validation and tests against the real implementation. Its described interface check uses a mock from the newer specification with tests derived from the older one. Passing that comparison is therefore different from demonstrating that deployed code honors the specification. Examples and implementation-level checks provide additional evidence rather than being implied by a schema comparison.[4]
Protocol and capability boundaries
The current edition comparison lists OpenAPI/REST, WSDL/SOAP and MCP in the free open-source offering. AsyncAPI, GraphQL, gRPC and Arazzo workflows are among the Enterprise additions. It also distinguishes basic same-spec OpenAPI workflows from broader cross-spec orchestration. A marketing list of supported protocols should consequently be read together with edition information rather than assumed to describe the MIT-licensed core alone.[3]
Licensing and output
The inspected core repository carries MIT terms. Commercial extensions and related authoring or governance products remain separate offerings. The backward-compatibility documentation identifies an HTML report in the open-source version, while its additional JSON CTRF output for governance is an Enterprise capability. Teams comparing tools should check both the required protocol and the report format consumed by their pipeline.[1][3][4]
Substitution scope
Specmatic can substitute for Pact JS for API compatibility testing when a specification-first workflow is preferable to JavaScript consumer-authored examples. The tradeoff changes the source of the contract: Pact tests capture what consumer code actually expects, whereas Specmatic derives tests and mocks from a maintained specification. No direct Pact-file conversion or equivalent behavioral coverage is established here. Consumer assumptions that are absent from the specification still need explicit validation.[2][5][6]
Capabilities & limitations
Specification-driven mocks and tests
supportedReuses API definitions for implementation checks and contract-validated mock expectations.[2]
Specification-driven API compatibility testing · JVM tooling, Docker, CI pipelines · Version, plan and platform requirements apply
1 source · check evidence
Executable specifications and mock validation
vendor · checked 2026-10-07Cross-protocol open-source coverage
limitedOSS supports selected protocols; GraphQL, gRPC, AsyncAPI and Arazzo are edition-dependent.[3]
Specification-driven API compatibility testing · JVM tooling, Docker, CI pipelines · Version, plan and platform requirements apply
1 source · check evidence
OSS protocol scope and commercial extensions
vendor · checked 2026-10-07Specification compatibility checks
supportedCompares interfaces across versions; real implementation tests are a separate layer.[4]
Specification-driven API compatibility testing · JVM tooling, Docker, CI pipelines · Version, plan and platform requirements apply
1 source · check evidence
Interface checks, example validation and implementation tests
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
References
- Specmatic core license
MIT terms
vendor · retrieved 2026-10-07 - Specmatic spec-driven development
Executable specifications and mock validation
vendor · retrieved 2026-10-07 - Specmatic editions comparison
OSS protocol scope and commercial extensions
vendor · retrieved 2026-10-07 - Specmatic backward compatibility
Interface checks, example validation and implementation tests
vendor · retrieved 2026-10-07 - Pact introduction
Consumer-driven contracts by example
vendor · retrieved 2026-10-07 - Writing Pact consumer tests
Exercise actual consumer logic rather than mock-only calls
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 934 | 2026-10-13 13:45:16 | /* wbeditentity-create-item:0| */ sf:4f62a241-ea91-4e38-a50d-0261c9d6ee28:v1 | Add Specmatic with cited product identity, workflow and portability boundaries; documentation research only. | attribution: /proposals/4f62a241-ea91-4e38-a50d-0261c9d6ee28 |