annotation Athena::Routing::Annotations::Put

Overview

Defines a PUT endpoint.

Fields

Example

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

Defined in:

annotations.cr