Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Swagger UI console distribution - wraps static assets built by swagger-ui, and provides path for mounting

Notifications You must be signed in to change notification settings

socialtables/swagger-ui-dist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swagger UI Dist

Swagger UI Dist is a dependency-free distribution of the static assets built by Swagger UI designed to be easily mounted as a static asset path by node projects. The primary motivation is to make it easy to leverage Swagger UI without pulling in its dependencies.

Usage (Koa example)

var koa = require("koa");
var mount = require("koa-mount");
var serve = require("koa-static");

var swaggerUIDist = require("swagger-ui-dist");

var app = koa();
app.use(mount("swagger-docs", serve(swaggerUIDist.dist)));

About

Swagger UI console distribution - wraps static assets built by swagger-ui, and provides path for mounting

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published