Fork me on GitHub
#ring-swagger
<
2016-02-03
>
jefmsmit23:02:13

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}

jefmsmit23:02:37

trying to keep as DRY as possible