import { OpenAPIHono } from "@hono/zod-openapi"; import activequerys from "./route/getCurrentQuerys.js"; import getArticles from "./route/getActiveArticles.js"; import currentInv from "./route/getInventory.js"; const app = new OpenAPIHono(); const routes = [activequerys, getArticles, currentInv] as const; const appRoutes = routes.forEach((route) => { app.route("/datamart", route); }); export default app;