code: function swaggerOperationMetadata (req, res, next) {
    if (req.swagger.path) {
      let method = req.method.toLowerCase();
  
      if (method in req.swagger.path) {
        req.swagger.operation = req.swagger.path[method];
      }
      else {
        util.warn("WARNING! Unable to find a Swagger operation that matches %s %s", req.method.toUpperCase(), req.path);
      }
    }
  
    next();
  }
docs: Sets `req.swagger.operation`