getParamsFromFastifyRequest = (shim, fn, fnName, args) => {
  const [req] = args
  return req && req.params
}
Retrieves the params from the Fastify request.

@param {WebFrameworkShim} shim
@param {Function} fn middleware function executing
@param {string} fnName name of middleware executing
@param {args} args that are passed to middleware
@returns {object} URL params on a Fastify request