{"library":"core-ajv-schema-validator","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","plugin","ajv","schema","validator","json","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install core-ajv-schema-validator","imports":["import { validateSchema } from 'core-ajv-schema-validator'","import coreAjvSchemaValidator from 'core-ajv-schema-validator'","import type { PathObject } from 'core-ajv-schema-validator'"]},{"cmd":"yarn add core-ajv-schema-validator","imports":[]},{"cmd":"pnpm add core-ajv-schema-validator","imports":[]}],"homepage":"https://github.com/sclavijosuero/core-ajv-schema-validator#readme","github":"https://github.com/sclavijosuero/core-ajv-schema-validator","docs":null,"changelog":null,"pypi":null,"npm":"core-ajv-schema-validator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}