Skip to main content

api_patch

Macro api_patch 

Source
macro_rules! api_patch {
    (@impl [$($attr:meta),*] $controller:ident, $method_name:ident, $path:expr, $request_type:ty, $response_type:ty) => { ... };
    ($controller:ident, $method_name:ident, $path:expr, $request_type:ty, $response_type:ty, deprecate: $note:expr) => { ... };
    ($controller:ident, $method_name:ident, $path:expr, $request_type:ty, $response_type:ty) => { ... };
}
Expand description

Macro for generating PATCH endpoints with request body