"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.EndpointsMiddleware = void 0;
const express_list_endpoints_1 = __importDefault(require("express-list-endpoints"));
const EndpointsMiddleware = (req, res, next, app) => {
    req.listEndpoints = (0, express_list_endpoints_1.default)(app);
    next();
};
exports.EndpointsMiddleware = EndpointsMiddleware;
