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.
Traffic · last 30 days ↑100% vs prev 7d
total hits 11
actors 4 distinct systems
last hit 12d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇺🇦 Ukraine · 🇨🇦 Canada · 🇬🇧 United Kingdom
Resources
packagecore-ajv-schema-validator ↗