Specmatic 2.46.0, a minor update released on 2026-05-11, focuses on refining its API and mobile testing capabilities.
Key Changes
Features:
- OpenAPI 3.1 Support: This version introduces enhanced validation and generation for OpenAPI 3.1 specifications, ensuring better compatibility with the latest API definitions.
- GraphQL Contract Testing: Improvements have been made to how Specmatic handles complex GraphQL types, such as unions and interfaces, during contract testing. This leads to more accurate and reliable tests for GraphQL APIs.
- Custom Header Validation: A new configuration option allows users to define and validate custom HTTP header rules, providing more granular control over API contract enforcement.
Fixes:
- Null Value Handling: An issue where
nullvalues in optional JSON fields were incorrectly flagged as errors has been resolved, preventing false positives in validation. - Performance for Large Specs: The
specmatic testcommand has been optimized to prevent hangs when processing very large OpenAPI or GraphQL specifications, improving efficiency for complex projects. - Error Reporting Clarity: Error messages for schema mismatches now provide more detail and are easier to understand, speeding up debugging.
Impact for QA Teams
QA teams will find Specmatic 2.46.0 offers more reliable API contract validation, especially for modern OpenAPI 3.1 and complex GraphQL services. The performance improvements and clearer error messages will streamline testing workflows and reduce debugging time.
For official details, refer to the Specmatic GitHub repository.
