Fork me on GitHub

I have another compojure-api newb question. How do you re-use the definition of a query-param with multiple endpoint declarations. I have a bunch of similar endpoints and I want them all to have a something in the query-params like {startIndex :- (ring-schema/describe (s/constrained s/Int #(>= % 1) 'positivenumber) "starting position of the result set") 1}


trying to keep as DRY as possible