(list-response-schema Model)
generate a list response schema for a model
generate a list response schema for a model
(paginate data
{:keys [sort_by sort_order offset limit]
:or {sort_by :id sort_order :asc offset 0 limit default-limit}})
(response results {:keys [offset limit sort search_after total-hits]})
Make a paginated response adding pagination helpers into a map
Make a paginated response adding pagination helpers into a map
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close