Hey I was wondering if there are any good open source projects built with compojure-api ?? 🙂
You looking for an endorsement or some sample code that uses it?
My company uses it for production APIs, but those are not open source repos.
New topic. In moving from compojure-api 1.2.0-alpha4 to 2.0.0-alpha20, I've got a broken API. The API :responses schema is
(sweet/describe (s/pred bytes?) "Protocol buffer binary encoded data."). The HTTP client specifies an accept header of "appplication/msgpack". In my
api options I have specified
:format [(m/create (-> m/default-options (msgpack-format/with-msgpack-format)))]. However the API response is always
application/json and so the clients attempt to unpack the expected msgpack response fails. Do I need to do one of the tricks in the
Request and response coercion section of https://github.com/metosin/compojure-api/wiki/Migration-Guide-to-2.0.0? Or is it something else?
@dave.tenny some sample code that uses good practices for production 🙂
Hmmm, I'm guessing coercion is not the problem here, but I'm still stumped why I can't get "application/msgpack" packed content out of the API.