core-ajv-schema-validator
JSON →A lightweight package (v1.0.0, released 2024) for API testing that validates JSON responses against plain JSON schemas, Swagger 2.0, or OpenAPI 3 documents using the Ajv validator (v8.17.1+). It extracts the correct schema for a given endpoint method and status from complex API documents, providing both raw Ajv errors and user-friendly mismatch reports. Differentiates from bare Ajv by handling full OpenAPI/Swagger documents and simplifying setup for test frameworks like Cypress and Playwright.
Resources
packagecore-ajv-schema-validator ↗