pub trait OpenApiFromData<'r>: FromData<'r> {
    fn request_body(gen: &mut OpenApiGenerator) -> Result<RequestBody>;
}
Expand description

This trait is used to document the request body that implements FromData.

Required Methods

Return a RequestBody containing the information required to document the FromData object.

Implementations on Foreign Types

Implementors