import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Map } from "lucide-react"; export default async function ApiMapPage({ params, }: { params: { projectId: string }; }) { return (
{/* Page Header */}

API Map

Auto-generated API endpoint documentation

{/* Content */}
API Endpoints Automatically detected from your codebase
{/* Example endpoints */} {[ { method: "GET", path: "/api/sessions", desc: "List all sessions" }, { method: "POST", path: "/api/sessions", desc: "Create new session" }, { method: "GET", path: "/api/features", desc: "List features" }, ].map((endpoint, i) => (
{endpoint.method}
{endpoint.path}

{endpoint.desc}

))}
); }