{
  "typescript": {
    "nextjs": {
      "docs_url": "https://nextjs.org/docs/app/building-your-application/routing/route-handlers",
      "description": "Next.js App Router HTTP route handler exports in route.ts files.",
      "features": {
        "http_endpoint": {
          "description": "App Router HTTP method handler: named export function (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS). Requires next/server import to gate false positives.",
          "absolute_paths": ["next/server.NextRequest", "next/server.NextResponse"],
          "target_level": "function",
          "concept": "FunctionDefinition",
          "construct_query": {
            "function_name_regex": "^(GET|HEAD|POST|PUT|DELETE|PATCH|OPTIONS)$",
            "export_name_regex": "^(GET|HEAD|POST|PUT|DELETE|PATCH|OPTIONS)$"
          },
          "startpoint": true
        }
      }
    }
  }
}
