arlac77 / ava-openapi

ava openapi testing support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

ava openapi testing support

License:BSD 2-Clause "Simplified" License


Languages

Language:JavaScript 100.0%