Skip to main content

ToSchema

Derive Macro ToSchema 

Source
#[derive(ToSchema)]
{
    // Attributes available to this derive:
    #[schema]
}
Expand description

Implement ToSchema, SchemaSerialize and SchemaDeserialize for a type.