Liking cljdoc? Tell your friends :D

stream.clojure.stripe.generator


camel-to-kebabclj

(camel-to-kebab s)
source

camel-to-snakeclj

(camel-to-snake s)
source

candidate-fn-nameclj

(candidate-fn-name endpoint)
source

descriptive-endpointclj

(descriptive-endpoint path)
source

descriptive-path-param-keyclj

(descriptive-path-param-key path param)
source

ensure-directoryclj

(ensure-directory path)
source

extract-endpointsclj

(extract-endpoints schema)
source

extract-path-paramsclj

(extract-path-params path)

Extracts path parameters (e.g. {customer}) from a URL string.

Extracts path parameters (e.g. {customer}) from a URL string.
sourceraw docstring

extract-resourceclj

(extract-resource path)

Extracts the resource type from a Stripe API path. Example: "/v1/customers/{customer}/bank_accounts" → "customers".

Extracts the resource type from a Stripe API path.
Example: "/v1/customers/{customer}/bank_accounts" → "customers".
sourceraw docstring

extract-stripe-api-versionclj

(extract-stripe-api-version spec)
source

fetch-stripe-schemaclj

(fetch-stripe-schema)
source

generate-destructuringclj

(generate-destructuring path query-param-objs method)

Generates the destructuring map for the function signature. It extracts descriptive keys for all path parameters and adds 'query-params' for query parameters and 'body' for POST/PUT methods.

Generates the destructuring map for the function signature.
It extracts descriptive keys for all path parameters and adds
'query-params' for query parameters and 'body' for POST/PUT methods.
sourceraw docstring

generate-example-usageclj

(generate-example-usage path query-param-objs fn-name)
source

generate-function-with-nameclj

(generate-function-with-name fn-name endpoint _schema)
source

generate-namespacesclj

(generate-namespaces endpoints schema)
source

generate-query-param-docsclj

(generate-query-param-docs query-param-objs)
source

generate-stripe-clojure-sdkclj

(generate-stripe-clojure-sdk)
source

generate-version-fileclj

(generate-version-file spec)
source

json-mapperclj

Object mapper that converts keys to keywords.

Object mapper that converts keys to keywords.
sourceraw docstring

remove-resource-from-fn-nameclj

(remove-resource-from-fn-name fn-name resource)
source

replace-double-with-singleclj

(replace-double-with-single s)
source

singularizeclj

(singularize s)

A simple singularization: if s ends with an "s" and is longer than one character, remove it.

A simple singularization: if s ends with an "s" and is longer than one character, remove it.
sourceraw docstring

stripe-openapi-urlclj

source

unique-function-nameclj

(unique-function-name existing endpoint)
source

write-to-fileclj

(write-to-file file-name content)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close