class
Analyzer::Clojure::Compojure
- Analyzer::Clojure::Compojure
- Analyzer
- Reference
- Object
Defined in:
analyzer/analyzers/clojure/compojure.crConstant Summary
-
CLOJURE_EXTENSIONS =
{".clj", ".cljc", ".cljs"} -
RESOURCE_METHODS =
{":get" => "GET", ":post" => "POST", ":put" => "PUT", ":delete" => "DELETE", ":patch" => "PATCH", ":head" => "HEAD", ":options" => "OPTIONS", ":any" => "ANY"} -
compojure.api.resource method keys (keyword form inside the resource map).
-
RESTRUCTURING_PARAMS =
{":query-params" => "query", ":body-params" => "json", ":path-params" => "path", ":form-params" => "form", ":header-params" => "header"} -
compojure-api restructuring directives that name request params with a
[name :- Schema ...]binding vector in the route body. -
ROUTE_METHODS =
{"GET" => "GET", "POST" => "POST", "PUT" => "PUT", "DELETE" => "DELETE", "PATCH" => "PATCH", "HEAD" => "HEAD", "OPTIONS" => "OPTIONS", "ANY" => "ANY"}