annotation Athena::Routing::Annotations::Get

Overview

Defines a GET endpoint.

Fields

Example

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

Defined in:

annotations.cr