openapi-schema
A JSON Schema for OpenAPI Specification. Supports version 3.0.1.
Install via NPM
npm install --save openapi-schema
Usage
Example of OpenAPI specification validation with "ajv" NPM package:
const Ajv = ;const schema = ; const ajv = ;ajv;
Missing requirements
- Parameter Object: "explode" – When style is form, the default value is true.
- Schema Object: "items" – items MUST be present if the type is array.
License
MIT