Part of #1006: the next group of the OpenAPI description, the code graph and chat routes.
## What changes
- The 12 paths are registered through `routes!` and described by `#[utoipa::path]`:
- **Code graph:** the graph, its nodes (`page`, `limit`), summary, communities, a finding's impact, symbol search (`q`, `limit`), file content (`path`), and rebuild.
- **Chat:** the code chat, its embedding build and the build status.
- **Help:** the documentation chat.
- Schemas: `SearchParams`, `FileContentParams`, `HelpChatRequest` and `HelpChatMessage`.
- The code chat body stays an object, because `ChatRequest` lives in core.
- Each summary is a one-line first doc paragraph, replacing the old "GET /api/… —" comments.
- `undescribed_routes.txt` goes from 71 to 59 paths.
## Checks
- `cargo fmt --check` and clippy with the CI flags pass.
- The agent's API unit tests pass (129).
- Every agent integration test binary passes against Mongo 7.
- I dumped the spec and checked each operation's summary, parameters, body and tag.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
The 12 code graph, chat and help chat paths are described from their
handlers: the graph, its nodes, summary, communities, a finding's impact,
symbol search, file content and rebuild (tag "Code graph"), the code chat
and its embeddings (tag "Chat"), and the documentation chat (tag "Help").
The search, file and help chat inputs are schemas; the code chat body
stays an object, as it is a core type. undescribed_routes.txt drops to
59 paths.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang
merged commit 48b1a4a47d into main2026-11-16 17:40:53 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #1006: the next group of the OpenAPI description, the code graph and chat routes.
What changes
routes!and described by#[utoipa::path]:page,limit), summary, communities, a finding's impact, symbol search (q,limit), file content (path), and rebuild.SearchParams,FileContentParams,HelpChatRequestandHelpChatMessage.ChatRequestlives in core.undescribed_routes.txtgoes from 71 to 59 paths.Checks
cargo fmt --checkand clippy with the CI flags pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9