code: function generateResourceListing(options) {
    var controllers = options.controllers;
    var opts = options.options || {};
  
    var listing = {
      openapi: '3.0.0',
      info: buildInfo(opts),
      servers: opts.servers || buildDefaultServers(),
      tags: buildTags(opts, controllers),
      paths: buildPaths(opts, controllers),
      components: buildComponents(opts, controllers)
    };
  
    mergeIn(listing.paths, opts.paths);
  
    if (opts.security) {
      listing.security = opts.security;
    }
    if (opts.externalDocs) {
      listing.externalDocs = opts.externalDocs;
    }
  
    return listing;
  }
docs: A method for generating OpenAPI resource listing