Skip to content

Split ELF API route contract modules#256

Merged
yvette-carlisle merged 1 commit into
mainfrom
xy/split-api-route-contract
Jun 29, 2026
Merged

Split ELF API route contract modules#256
yvette-carlisle merged 1 commit into
mainfrom
xy/split-api-route-contract

Conversation

@yvette-carlisle

Copy link
Copy Markdown
Member

Summary

  • split ELF API OpenAPI contract wiring out of routes.rs into routes/contract.rs
  • split the admin viewer handler into routes/viewer.rs
  • replace remaining #[path] route child-module declarations in routes.rs, routes/support.rs, and routes/types.rs with normal Rust modules
  • add /v2/graph/report to the generated OpenAPI contract and assert it in the contract test

Validation

  • cargo make fmt-rust
  • cargo make check-rust
  • cargo test -p elf-api --test http contract::openapi_json_route_serves_generated_contract
  • cargo make check
  • read-only skeptic review: no blockers

@yvette-carlisle yvette-carlisle merged commit fb33b48 into main Jun 29, 2026
12 checks passed
@yvette-carlisle yvette-carlisle deleted the xy/split-api-route-contract branch June 29, 2026 08:13
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