Fork me on GitHub
#ring-swagger
<
2017-04-22
>
eoliphant19:04:10

hi is there a way to have a route/endpoint def call different functions based on the presence/absence of query params? where if i had a multi-arity (defn something…)

(GET "/something"
 :query-params [x :- String, y :- String]
 (ok (something x))
 (ok (something x y))