Skip to main content

documented

Function documented 

Source
pub fn documented<C, H, T, M>(
    doc: UtoipaMethodRouter<AppState>,
    handler: H,
) -> UtoipaMethodRouter<AppState>
where C: HttpCall, H: CallHandler<C, T> + Handler<M, AppState>, M: 'static,
Expand description

handler mounted at C::ROUTE with the OpenAPI operation of doc (the output of utoipa_axum::routes!(handler); only its operation and schemas are used: the path and the method in the document are always C’s). Use call_route!.