annotation Athena::Routing::Put

Overview

Defines a PUT endpoint.

Fields

Example

@[ART::Put(path: "/users/:id")]
def update_user(id : Int32) : Nil
end

Defined in:

annotations.cr