ring-swagger

ring-swagger & compojure-api
pataprogramming 2018-06-01T00:32:29.000025Z

I’ve been bashing my head against compojure-api trying to figure out how to add example responses to swagger. (I’m using spec coercion, non-data-driven.)

pataprogramming 2018-06-01T00:33:03.000277Z

If anyone could point me to the right place to add examples, it’d be greatly appreciated…I haven’t been able to turn up any docs.

pataprogramming 2018-06-01T00:35:39.000217Z

It looks like it somehow needs to be associated with a content-type, but exactly how is unclear. (This is my first time using swagger, as well as my first time using compojure-api.)