#[patch]
Shorthand for #[orpc::route(method = "PATCH", path = "...")].
#[orpc::route(method = "PATCH", path = "...")]
#[orpc::patch("/planet/{id}")] async fn patch_planet( State(db): State<Db>, Json(input): Json<PatchInput>, ) -> Result<Json<Planet>, AppError> { // ... }