Liking cljdoc? Tell your friends :D

blueprint.openapi

Generates the OAS spec from the blueprint definition. Reference docs: https://swagger.io/specification/

OAS keys are already camelCased.

Generates the OAS spec from the blueprint definition.
Reference docs: https://swagger.io/specification/

OAS keys are already camelCased.
raw docstring

assoc-pathclj

(assoc-path m op input)

build-argclj

(build-arg {:keys [name def]})

build-attrclj

(build-attr {:keys [def opts]})

build-endpointclj

(build-endpoint elems)

build-outputclj

(build-output code def output-extensions)

build-paramclj

(build-param [name def])

build-predcljmultimethod


build-refclj

(build-ref resource)

build-schemacljmultimethod


filter-argsclj

(filter-args elems)

generate-openapiclj

(generate-openapi api-def)
(generate-openapi {:keys [servers info tags extensions]
                   :blueprint.registry/keys [resources commands]
                   :as api-def}
                  {:keys [filter-commands]})

generate-pathclj

(generate-path {:keys [tags input output params path output-extensions]
                :as cmd})

generate-schemasclj

(generate-schemas resources)

generate-tagsclj

(generate-tags tags)

json-serializeclj

(json-serialize {:keys [openapi]})

object-mapperclj


operation-nameclj

(operation-name op)

write-to-fileclj

(write-to-file api-def path)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close