pedestal

souenzzo 2020-12-07T19:40:38.286700Z

How can I turn things like /foo/{id} (swagger/openapi path specs) into something that pedestal understand, like /foo/:id

souenzzo 2020-12-07T19:43:03.286800Z

(string/replace "/foo/{bar}/car/{var}"
                #"(\{[^\}]+\})"
                (fn [[v _]]
                  (str ":" (subs v 1 (dec (count v))))))

souenzzo 2020-12-07T22:25:58.287500Z

I'm still looking for a "final solution" for this issue