Compojure-api Api Documentation

Version: 2.0.0-alpha28

compojure.api.meta

+compojure-api-request+

lexically bound ring-request for handlers.

dummy-let

macro

(dummy-let bindings & body)

Dummy let-macro used in resolving route-docs. not part of normal invokation chain.

dummy-letk

macro

(dummy-letk bindings & body)

Dummy letk-macro used in resolving route-docs. not part of normal invokation chain.

fnk-schema

(fnk-schema bind)

merge-parameters

(merge-parameters info)

Merge parameters at runtime to allow usage of runtime-paramers with route-macros.

restructure

(restructure method [path route-arg & args] {:keys [context?]})

restructure-param

multimethod

Restructures a key value pair in smart routes. By default the key is consumed form the :parameters map in acc. k = given key, v = value.

routing

(routing handlers)

src-coerce!

(src-coerce! schema key type)(src-coerce! schema key type keywordize?)

Inputs: ([schema key type] [schema key type keywordize?])

Return source code for coerce! for a schema with coercion type, extracted from a key in a ring request.

static-context

macro

(static-context path route)

strict

(strict schema)