feat(api): the OpenAPI description covers the inbox routes (#1006) #1023

Merged
sharang merged 1 commits from feat/openapi-inbox into main 2026-11-16 22:03:15 +00:00
Owner

Part of #1006: the next group of the OpenAPI description, covering the inbox routes. This branch is stacked on #1022. Until that is merged, it also contains #1022's commit. After the squash merge it gets updated with main, and the diff shrinks to this group.

What changes

  • The 5 inbox paths are registered through routes! and described by #[utoipa::path] (tag "Inbox"):
    • the buckets and cards (target, bucket, limit)
    • deciding on a card
    • undoing a decision
    • putting a card off, and taking that back ({key})
  • InboxQuery is a schema. The bodies (DecideRequest, UndoRequest, SnoozeRequest) are core types, so they stay objects with a description.
  • undescribed_routes.txt goes from 31 to 26 paths.

Checks

  • cargo fmt --check and clippy with the CI flags pass.
  • The agent's API unit tests pass.
  • Every agent integration test binary passes against Mongo 7.
  • I dumped the spec and checked each operation's summary, parameters and body.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9

Part of #1006: the next group of the OpenAPI description, covering the inbox routes. **This branch is stacked on #1022.** Until that is merged, it also contains #1022's commit. After the squash merge it gets updated with main, and the diff shrinks to this group. ## What changes - The 5 inbox paths are registered through `routes!` and described by `#[utoipa::path]` (tag "Inbox"): - the buckets and cards (`target`, `bucket`, `limit`) - deciding on a card - undoing a decision - putting a card off, and taking that back (`{key}`) - `InboxQuery` is a schema. The bodies (`DecideRequest`, `UndoRequest`, `SnoozeRequest`) are core types, so they stay objects with a description. - `undescribed_routes.txt` goes from 31 to 26 paths. ## Checks - `cargo fmt --check` and clippy with the CI flags pass. - The agent's API unit tests pass. - Every agent integration test binary passes against Mongo 7. - I dumped the spec and checked each operation's summary, parameters and body. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang added 1 commit 2026-11-16 21:43:07 +00:00
feat(api): the OpenAPI description covers the inbox routes (#1006)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m19s
CI / Check (pull_request) Successful in 19m43s
9a7ed800c9
The 5 inbox paths are described from their handlers (tag "Inbox"): the
buckets and cards, deciding on a card, undoing a decision, putting a
card off and taking that back. InboxQuery is a schema; the bodies are
core types and stay objects with a description. undescribed_routes.txt
drops to 26 paths, the CVE/VEX and pentest routes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang force-pushed feat/openapi-inbox from 8caf01ca07 to 9a7ed800c9 2026-11-16 21:43:07 +00:00 Compare
sharang merged commit 97b8e35a87 into main 2026-11-16 22:03:15 +00:00
sharang deleted branch feat/openapi-inbox 2026-11-16 22:03:15 +00:00
Sign in to join this conversation.