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, "/", {});
With npm do:
npm install ava-openapi
BSD-2-Clause