roas-http-validator 0.2.0

Validates HTTP requests against an OpenAPI description, with adapters for axum, actix-web, poem, salvo and rocket
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! One [`ToRequestView`](crate::ToRequestView) impl per framework, each
//! behind its own feature so a build pays for the frameworks it uses.
//!
//! Every adapter converts the request *head* only. See
//! [`crate::request`] for why the body is the caller's to supply.

#[cfg(feature = "actix-web")]
mod actix;
#[cfg(feature = "http")]
mod http;
#[cfg(feature = "poem")]
mod poem;
#[cfg(feature = "reqwest")]
mod reqwest;
#[cfg(feature = "rocket")]
mod rocket;
#[cfg(feature = "salvo")]
mod salvo;