1.0.0 • Published 6 years ago

koa-ui v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
6 years ago

koa-ui

build status test coverage npm version minified size MIT licensed

OpenAPI UI / Swagger UI for Koa.

An example of what the UI looks like

Example

const ui = require("koa-ui");
const Koa = require("koa");

const app = new Koa();

const spec = require("./swagger.json");

app.use(ui("/", spec));

app.listen(8080);