Attribute Macro delete

Source
#[delete]
Expand description

To use these Procedural Macros, you need to add spring-web dependency

§Syntax

#[delete("path"[, attributes])]

§Attributes

  • "path": Raw literal string with path for which to register handler.

§Examples

#[delete("/")]
async fn example() -> impl IntoResponse {
    "hello world"
}