Trait rocket_okapi_fork::request::OpenApiFromForm[][src]

pub trait OpenApiFromForm<'r>: FromForm<'r> {
    fn form_multi_parameter(
        gen: &mut OpenApiGenerator,
        name: String,
        required: bool
    ) -> Result<Vec<Parameter>>; }
Expand description

This trait means that the implementer can be used as a FromForm request guard, and that this can also be documented.

Required methods

Return a RequestBody containing the information required to document the FromForm for implementer.

Implementors