# openapi-validator

> Common code for jest-openapi and Chai OpenAPI Response Validator

Latest version **0.14.2** (published 2022-01-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install openapi-validator
pnpm add openapi-validator
yarn add openapi-validator
bun add openapi-validator
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.14.2 |
| Published | 2022-01-03 |
| First published | 2020-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 64.8 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 195 |
| Author | OpenApiChai |
| Maintainers | openapichai |
| Keywords | jest, chai, openapi, testing, response, validate |

## Links

- npm: https://www.npmjs.com/package/openapi-validator
- Repository: https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/openapi-validator
- Homepage: https://github.com/openapi-library/OpenAPIValidators#openapi-validators
- Issues: https://github.com/openapi-library/OpenAPIValidators/issues
- npm.io page: https://npm.io/package/openapi-validator

## Dependencies (10)

- [axios](https://npm.io/package/axios.md) ^0.21.1
- [combos](https://npm.io/package/combos.md) ^0.2.0
- [typeof](https://npm.io/package/typeof.md) ^1.0.0
- [js-yaml](https://npm.io/package/js-yaml.md) ^4.0.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^9.0.0
- [path-parser](https://npm.io/package/path-parser.md) ^6.1.0
- [@types/request](https://npm.io/package/@types/request.md) ^2.48.7
- [@types/superagent](https://npm.io/package/@types/superagent.md) ^4.1.12
- [openapi-schema-validator](https://npm.io/package/openapi-schema-validator.md) ^9.2.0
- [openapi-response-validator](https://npm.io/package/openapi-response-validator.md) ^9.2.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 0.14.2 (latest) — 2022-01-03
- 0.14.2-alpha.0 — 2022-01-03
- 0.14.1 — 2021-10-16
- 0.14.0 — 2021-09-12
- 0.13.1-alpha.2 — 2021-03-19
- 0.13.1-alpha.1 — 2021-03-15
- 0.13.0 — 2021-03-06
- 0.12.0 — 2021-02-28
- 0.11.0 — 2021-02-28
- 0.11.1 — 2021-02-28
- 0.9.0 — 2020-04-24

## README

# OpenAPI Validator

[![downloads](https://img.shields.io/npm/dm/openapi-validator)](https://www.npmjs.com/package/openapi-validator)
[![npm](https://img.shields.io/npm/v/openapi-validator.svg)](https://www.npmjs.com/package/openapi-validator)

Common code for [jest-openapi](https://www.npmjs.com/package/jest-openapi) and [Chai OpenAPI Response Validator](https://www.npmjs.com/package/chai-openapi-response-validator)

---
_Source: https://npm.io/package/openapi-validator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
