v1.4.2: Full Breaching Detector & Postman Runtime Validation
Added
- OpenAPI
POST/PUT/PATCH/DELETEValidation: The Breaching Detector (smile test) now supports state-mutating requests. It automatically generates valid JSON bodies forPOST/PUT/PATCHrequests 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.tsinto a clean format-based dispatcher that delegates toopenapiTester.tsandpostmanTester.ts.
Changed
- Warning Toleration:
smile testnow properly ignores warnings (such as204 No Contentmissing a schema) and correctly exits with code0as long as there are no Error-level violations.
Docs
- Destructive Warnings: Added prominent warnings to
README.md,docs/getting-started.md, anddocs/library.mdexplicitly stating thatsmile testnow modifies databases with fake data. - Roadmap: Updated roadmap, pushing AsyncAPI broker validation to v1.6.0.
📦 Installation
npm install -g @mrjacket/smileView Full CHANGELOG