CrossClj

2.0.0-alpha20 docs

SourceDocs



RECENT
    VARS
    +compojure-api-request+
    convert-return
    destructure-compojure-api-request
    dummy-let
    dummy-letk
    fnk-schema
    merge-parameters
    merge-public-parameters
    restructure
    restructure-param
    route-args?
    routing
    src-coerce!
    static-context
    strict

    « Index of all namespaces of this project

    lexically bound ring-request for handlers.
    
    Private
    (convert-return schema)
    Private
    (destructure-compojure-api-request path arg)
    Returns a vector of four elements:
    - pruned path string
    - new lets list
    - bindings form for compojure route
    - symbol to which request will be bound
    macro
    (dummy-let bindings & body)
    Dummy let-macro used in resolving route-docs. not part of normal invokation chain.
    
    macro
    (dummy-letk bindings & body)
    Dummy letk-macro used in resolving route-docs. not part of normal invokation chain.
    
    (fnk-schema bind)
    (merge-parameters info)
    Merge parameters at runtime to allow usage of runtime-paramers with route-macros.
    
    Private
    (merge-public-parameters {:keys [responses swagger], :as parameters})
    (restructure method [path route-arg & args] {:keys [context?]})
    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.
    Private
    (route-args? arg)
    (routing handlers)
    (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.
    macro
    (static-context path route)
    (strict schema)