code: function http404 (req, res, next) {
    if (req.swagger && req.swagger.api && !req.swagger.path) {
      util.debug(
        'Client requested path "%s", which is not defined in the Swagger API. Returning HTTP 404 (Not Found)',
        req.path
      );
      throw ono({ status: 404 }, "Resource not found: %s", req.path);
    }
  
    next();
  }
docs: If the request is under the Swagger API's basePath, but no matching Path was found,
  then an HTTP 404 (Not Found) error is thrown