import { generateOpenApiSpec } from "@/lib/openapi";

export async function GET() {
  const spec = generateOpenApiSpec();
  return Response.json(spec, {
    headers: { "Access-Control-Allow-Origin": "*" },
  });
}
