code: function exposeSwaggerUi(path, options) {
    if (typeof path !== 'string') {
      options = path;
      path = null;
    }
    options = options || {};
    var swaggerDoc = options.swaggerDoc;  delete options.swaggerDoc;
  
    if (!this.__swaggerDocURL) {
      this.exposeSwagger(swaggerDoc || '', options);
    };
  
    var uiPath = _path.join(__dirname, '../swagger-ui');
    this.__swaggerUiStaticMiddleware = serveStatic(uiPath, {});
  
    this.__swaggerUiPath = path || '/swagger-ui';
    this.use(this.__swaggerUiPath, swaggerUi.bind(this));
  
    return this;
  }
docs: exposeSwaggerUi   exposes swagger ui application
  
  @param  {String} [path='/swagger-ui']   the path to mount swagger ui app
  @param  {Object} [options]  options to expose swagger ui
  @param  {String} [options.swaggerDoc='/swagger.json']  the path to mount swagger document
  @param  {boolean} [options.cors=true]   should the swagger doc be exposed with CORS
  @param  {String} [options.beautify]    the separator for JSON beautifier for swagger document
  @param  {String} [options.title]   the title of API
  @param  {String} [options.path]   the path of the API
  @param  {String} [options.version]   the API version
  @param  {String} [options.host]   the host name of the API
  
  @return {ModelAPIExpress}         the API object