docs: function exposeSwagger(path, options) {
    if (typeof path !== 'string') {
      options = path;
      path = null;
    }
    path = path || '/swagger.json';
    options = options || {};
    var needCors = options.cors; delete options.cors;
    var beautify = options.beautify; delete options.beautify;
    beautify = beautify === true ? '  ' : beautify;
    this.__swaggerDocURL = path;
    this.__swaggerDocJSON = JSON.stringify(
      this.swaggerDoc(options), null, beautify
    );
    if (needCors !== false) {
      this.get(path, cors(), swaggerJSON.bind(this));
    } else {
      this.get(path, swaggerJSON.bind(this));
    }
    return this;
  }