CrossClj

0.5.2 docs

SourceDocs



RECENT
    VARS
    $swagger.json$GET
    collect-route
    collect-routes
    convert-parameters
    convert-responses
    ignore-ns?
    wrap-swagger-ui

    « Index of all namespaces of this project

    Private
    (collect-route ns-sym->prefix extra-metadata-fn routes annotated-handler)
    (collect-routes handlers prefix->ns-sym)(collect-routes handlers prefix->ns-sym base)(collect-routes handlers prefix->ns-sym extra-parameters extra-metadata-fn)
    Parameters:
    - seq of fnhouse AnnotatedProtoHandlers
    - prefix->ns-sym map
    - top-level extra swagger parameters to be used as a baseline, defaults to {}
    - extra function (like fnhouse extra-info-fn). It takes contents of :annotations
    field on handler and returns a map that will be merged into
    ring-swagger's Operation-data. 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-responses responses)
    Private
    (ignore-ns? ns-sym)