code: function makeSpecExposer(spec) {
    const defn = clone(spec);
    return async function specExposer(ctx, next) {
      ctx.state.route = defn;
      await next();
    };
  }
docs: Exposes route spec
  @param {Object} spec The route spec
  @returns {async Function} Middleware
  @api private