Function rocket_okapi::request::get_nested_form_parameters
source · [−]pub fn get_nested_form_parameters<T>(
gen: &mut OpenApiGenerator,
name: String,
required: bool
) -> Vec<Parameter>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
where
T: JsonSchema,
Expand description
Given an object that implements the JsonSchema
generate all the Parameter
that are used to create documentation.
Use when manually implementing a
Form Guard.
Manual implementation is not needed anymore because of Generic trait implementation of
OpenApiFromForm
and OpenApiFromFormField
.
But still used internally for implementation.