ava-openapi
TypeScript icon, indicating that this package has built-in type declarations

1.4.13 • Public • Published

npm License Typed with TypeScript bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status

ava-openapi

ava openapi testing support

import test from "ava";
import { loadOpenAPI, openapiPathTest } from "ava-openapi";

test.before(async t => {
  await loadOpenAPI(
    t,
    "https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.2022-11-28.json"
  );
});

test(openapiPathTest, "/", {});

install

With npm do:

npm install ava-openapi

license

BSD-2-Clause

Package Sidebar

Install

npm i ava-openapi

Weekly Downloads

31

Version

1.4.13

License

0BSD

Unpacked Size

11.6 kB

Total Files

5

Last publish

Collaborators

  • arlac77