#[post]
Shorthand for #[orpc::route(method = "POST", path = "...")].
#[orpc::route(method = "POST", path = "...")]
#[orpc::post("/planet/create")] async fn create_planet( State(db): State<Db>, Json(input): Json<CreateInput>, ) -> Result<Json<Planet>, AppError> { // ... }