Skip to content

v1.4.2: Full Breaching Detector & Postman Runtime Validation

Choose a tag to compare

@github-actions github-actions released this 30 Jul 09:12

Added

  • OpenAPI POST/PUT/PATCH/DELETE Validation: The Breaching Detector (smile test) now supports state-mutating requests. It automatically generates valid JSON bodies for POST/PUT/PATCH requests by analyzing the OpenAPI schema.
  • Postman Runtime Validation: The Breaching Detector can now recursively traverse Postman collections, fire requests against the live server, and dynamically infer a structural JSON Schema from the saved example to validate the real server's response.
  • Runtime Dispatcher Architecture: Refactored smokeTest.ts into a clean format-based dispatcher that delegates to openapiTester.ts and postmanTester.ts.

Changed

  • Warning Toleration: smile test now properly ignores warnings (such as 204 No Content missing a schema) and correctly exits with code 0 as long as there are no Error-level violations.

Docs

  • Destructive Warnings: Added prominent warnings to README.md, docs/getting-started.md, and docs/library.md explicitly stating that smile test now modifies databases with fake data.
  • Roadmap: Updated roadmap, pushing AsyncAPI broker validation to v1.6.0.

📦 Installation

npm install -g @mrjacket/smile

View Full CHANGELOG