const express = require("express"); const asyncHandler = require("../middleware/asyncHandler"); const { fetchReportingCsv } = require("../modules/reporting/reporting.controller"); const router = express.Router(); /** * @openapi * /api/v1/uber/reporting/fetch: * post: * summary: Fetch Uber reporting CSV with retries and header-based parsing * tags: * - Uber Reporting * responses: * 200: * description: Reporting CSV fetched */ router.post("/uber/reporting/fetch", asyncHandler(fetchReportingCsv)); module.exports = router;