Skip to content
An express module that bundles the swagger-ui
Find file
Latest commit c78b1ad Gareth Jones 0.0.6


An express module that bundles the swagger-ui as a mountable thing. It can be used with any REST service that produces a swagger compliant JSON description.

Note that no changes have been made to the UI apart from templating the initial page to allow passing in of options from the express app.


    npm install flair-ui


    var flairui = require('flair-ui');
    //mounts the html docs and api explorer on /docs
    //(needs to know the location of swagger json - could be passed absolute or relative url)
    app.get("/docs", flairui("/api-doc"));


Apache Licence 2.0 - same as swagger-ui.

Something went wrong with that request. Please try again.