{"library":"api-schema-builder","type":"library","category":null,"description":"The `api-schema-builder` package facilitates the generation of input and response validators directly from OpenAPI (formerly Swagger) specifications. It integrates with `ajv` (Another JSON Schema Validator) to compile these definitions into executable validation functions for various parts of an HTTP request and response, including path parameters, query strings, headers, and request/response bodies. The current stable version is 2.0.11, with the last release in January 2022. The project's release cadence is infrequent, suggesting a maintenance-focused phase. A key differentiator is its ability to seamlessly integrate existing OpenAPI definitions, automating the enforcement of schema compliance without requiring manual AJV schema composition. It supports OpenAPI 3.0 content type validation and offers customization options for AJV configuration, alongside specific handling for nullable attributes.","language":"javascript","status":"maintenance","version":"2.0.11","tags":["javascript","ajv","swagger","OpenAPI","open api","validation","validator"],"last_verified":"Wed May 27","install":[{"cmd":"npm install api-schema-builder","imports":["const apiSchemaBuilder = require('api-schema-builder');","const { buildSchemaSync } = require('api-schema-builder');","const { buildSchema } = require('api-schema-builder');"]},{"cmd":"yarn add api-schema-builder","imports":[]},{"cmd":"pnpm add api-schema-builder","imports":[]}],"homepage":null,"github":"https://github.com/PayU/api-schema-builder","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/api-schema-builder","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/api-schema-builder/compatibility"}}