Trait rocket_okapi_fork::request::OpenApiFromRequest[][src]

pub trait OpenApiFromRequest<'a>: FromRequest<'a> {
    fn request_input(
        _gen: &mut OpenApiGenerator,
        _name: String
    ) -> Result<RequestHeaderInput> { ... } }
Expand description

This will let the request guards add to the openapi spec

Provided methods

Return a parameter for items that are found in the function call, but are not found anywhere in the path definition by rocket, defaults to a none implementation for simplicity

Implementations on Foreign Types

Implementors