module Wakdata::RestAPI::V1::Format
Defined in:
wakdata/rest-api/v1/format.crConstant Summary
-
BSON_FORMAT =
"bson"
-
FORMATS_ALLOWED =
[JSON_FORMAT, YAML_FORMAT, YML_FORMAT, BSON_FORMAT]
-
JSON_FORMAT =
"json"
-
YAML_FORMAT =
"yaml"
-
YML_FORMAT =
"yml"
Class Method Summary
Class Method Detail
def self.return_value(env : HTTP::Server::Context, value : T, format : String | Nil) forall T
#