Skip to content

docs(api): register missing doc endpoints (/doc/list, /doc/search, /doc/update) - #827

Merged
ajianaz merged 1 commit into
developfrom
docs/api-reference-missing-doc-endpoints
Aug 1, 2026
Merged

docs(api): register missing doc endpoints (/doc/list, /doc/search, /doc/update)#827
ajianaz merged 1 commit into
developfrom
docs/api-reference-missing-doc-endpoints

Conversation

@ajianaz

@ajianaz ajianaz commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

The auto-generated docs/api-reference.md (via cargo run -p docgen) omitted three document endpoints that do exist in handlers.rs:

  • POST /doc/list (DocListParams)
  • POST /doc/search (DocSearchRequest)
  • POST /doc/update (DocUpdateRequest)

Why it matters

Discovered while validating corin (codecoradev/corin) uteke_client.rs call sites against the uteke server route registry. Corin calls these three endpoints, but they were absent from the reference doc β€” making the doc appear incomplete/stale and causing downstream consumers to wrongly assume the endpoints are missing or deprecated.

Changes

  • crates/uteke-server/src/api_registry.rs β€” added 3 Endpoint entries to the Documents section (logical order: create β†’ get β†’ list β†’ search β†’ update β†’ move β†’ delete β†’ mem-refs).
  • docs/api-reference.md β€” regenerated via cargo run -p docgen.

Validation

  • cargo fmt --all -- --check βœ…
  • cargo clippy -p uteke-server -p docgen -- -D warnings βœ…
  • cora review pre-commit hook βœ…

Diff of handler routes vs registry paths confirmed these were the only 3 gaps.

…oc/update)

The auto-generated api-reference.md (via docgen) omitted three document
endpoints that exist in handlers.rs:
  - POST /doc/list   (DocListParams)
  - POST /doc/search (DocSearchRequest)
  - POST /doc/update (DocUpdateRequest)

Discovered while validating corin's uteke_client call sites against the
uteke server route registry β€” corin calls these, but they were absent
from the reference doc, making the doc appear incomplete/stale.

Added the three Endpoint entries to api_registry.rs and regenerated
docs/api-reference.md via 'cargo run -p docgen'.
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

πŸ” Cora AI Code Review

βœ… No issues found. Code looks good!


Review powered by cora-cli Β· BYOK Β· MIT

@ajianaz
ajianaz merged commit 5b13e1f into develop Aug 1, 2026
9 checks passed
@ajianaz
ajianaz deleted the docs/api-reference-missing-doc-endpoints branch August 1, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant