Expand description
Stormchaser API implementation. This crate contains the REST API for the Stormchaser system.
Re-exports§
pub use auth::AuthClaims;pub use auth::JWT_SECRET;pub use routes::*;
Modules§
- auth
- Authentication and authorization module
- db
- Database access module
- hitl
- Human-in-the-loop module
- rate_
limit - Rate limiting middleware and configuration
- routes
- API routes module
- telemetry
- Telemetry and metrics module
Structs§
- ApiDoc
- OpenAPI documentation struct for the API
- AppState
- Application state shared across routes
- Claims
- Extracted claims from a JWT token.
Statics§
- RUNS_
ENQUEUED - Counter metric for tracking the total number of enqueued workflow runs
Functions§
- app
- Constructs the Axum application router with all routes and middleware