(extract-path-params path)Extracts path parameters (e.g. {customer}) from a URL string.
Extracts path parameters (e.g. {customer}) from a URL string.
(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".(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.
Object mapper that converts keys to keywords.
Object mapper that converts keys to keywords.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |