Skip to main content

Crate stormchaser_api

Crate stormchaser_api 

Source
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