Skip to main content

Crate platform_http

Crate platform_http 

Source

Re-exports§

pub use auth::AdminActor;
pub use auth::AuthenticatedActor;
pub use auth::CONSOLE_ADMIN_SCOPE;
pub use auth::OptionalActor;
pub use auth::ServiceActor;
pub use auth::UserActor;
pub use context::HttpRequestContext;
pub use context::request_context_middleware;
pub use errors::ProblemDetails as ErrorResponse;
pub use errors::ApiErrorResponse;
pub use errors::IntoApiError;
pub use errors::ProblemDetails;
pub use errors::ProblemErrorDetail;
pub use json::JsonBody;
pub use routes::ApiOpenApiRouter;
pub use routes::ApiRouter;
pub use routes::base_router;

Modules§

auth
context
errors
health
json
responses
routes

Macros§

routes
Collect axum handlers annotated with utoipa::path to router::UtoipaMethodRouter.

Structs§

OpenApiRouter
A wrapper struct for axum::Router and utoipa::openapi::OpenApi for composing handlers and services with collecting OpenAPI information from the handlers.