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

This trait is used to document multiple query guard segments that implement FromForm. For example ?<param> in the route’s query part.

Required Methods

Return a Vec<Parameter> containing the information required to document the FromForm route’s query part.

Implementors