CrossClj

0.5.2 docs

SourceDocs



RECENT
    VARS
    $api-docs$:**$GET
    $api-docs$GET
    collect-resource-meta
    collect-route
    collect-routes
    convert-parameters
    convert-response-messages
    generate-nickname
    ignore-ns?
    wrap-swagger-ui

    « Index of all namespaces of this project

    Private
    (collect-resource-meta api-routes [ns-sym prefix])
    (collect-route ns-sym->prefix extra-metadata-fn routes annotated-handler)
    (collect-routes handlers prefix->ns-sym)(collect-routes handlers prefix->ns-sym extra-metadata-fn)
    The third parameter of this function, extra-metadata-fn, is supposed to be a
    counterpart of fnhouse's extra-info-fn. It takes contents of :annotations
    field on handler and returns a map that will be merged into
    ring-swagger's :metadata. Such function can be used to obtain Swagger auth
    spec from fnhouse's handler or to override any fnhouse-swagger-derived
    metadata
    Private
    (convert-parameters request)
    Private
    (convert-response-messages responses)
    Private
    (generate-nickname annotated-handler)
    Private
    (ignore-ns? ns-sym)