(->endpoint definition)
{path {req-method1 {meta-data..}} req-method2 {meta-data..} ...} -> {:path path :ops [output-of->op]}
{path {req-method1 {meta-data..}} req-method2 {meta-data..} ...} -> {:path path :ops [output-of->op]}
(->op desc)
{req-method1 {summary summary operationId id ...}} -> {method1 :req-method1 op :op doc doc params [params]}
{req-method1 {summary summary operationId id ...}} -> {method1 :req-method1 op :op doc doc params [params]}
(fetch-spec)
(fetch-spec version)
Returns the spec for the Docker API for the supplied version.
Pass nil for the latest spec.
Returns the spec for the Docker API for the supplied version. Pass nil for the latest spec.
(find-op-meta op ops)
Finds the matching operation by operationId in list of ops from the spec.
Returns the method, doc and params form it, nil otherwise.
Finds the matching operation by operationId in list of ops from the spec. Returns the method, doc and params form it, nil otherwise.
(gather-request-params supplied-params request-params {:keys [name in]})
Reducer fn generating categorized params from supplied params.
Returns a map of query, path and body params.
Reducer fn generating categorized params from supplied params. Returns a map of query, path and body params.
(get-paths-of-category category version)
Fetches the paths section of the swagger.yaml and the version.
Filters paths starting with the specified category.
Fetches the paths section of the swagger.yaml and the version. Filters paths starting with the specified category.
(request-info-of category op version)
Returns a map of path, method, doc and params of an op of a category.
Prefixes the paths with the version from spec.
Returns nil if not found.
Returns a map of path, method, doc and params of an op of a category. Prefixes the paths with the version from spec. Returns nil if not found.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close