Skip to main content

openapi_path

Macro openapi_path 

Source
macro_rules! openapi_path {
    (
        $method:ident,
        path = $path:expr,
        tag = $tag:expr,
        summary = $summary:expr,
        request_body = $request:ty,
        response = $response:ty
    ) => { ... };
}
Expand description

Helper macro to reduce boilerplate for common response patterns