Swagger API Documentations Viewer
This project is under development and not ready for production use.
It's very easy to customize the looks of Swagger Docs.
Each path, operation, parameter and many more elements have their own URL.
Swagger Docs can load Swagger specs dynamically. Updating your API documentation is as easy as updating your Swagger specs file (swagger.json
).
You can use templates in description sections or other places to have custom variables for each user. For example you can have user access_token
in documentations.
Documentations look as good in mobile devices.
Swagger Docs is a static web application. You can download it via npm and serve
the dist
folder in your web server. Swagger Docs will make a request to ./swagger.json
to get the Swagger document to render.
npm install swagger-docs
If you are using Express or any other Connect based server, there is a connect middle-ware.
var SwaggerDocs = require('swagger-docs');
var swagger = require('path/to/swagger.json');
app.use(SwaggerDocs.middleWare(swagger, {path: '/api-documentations'}));
Read Configuration Documentations here
Read Development Documentations here.
MIT