patch

Function patch 

Source
pub fn patch(path: impl Into<String>, response: Value) -> CustomEndpoint
Expand description

Helper function to create a simple PATCH endpoint with a static JSON response.