Fork me on GitHub
#ring-swagger
<
2018-06-01
>
pataprogramming00:06:29

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.)

pataprogramming00:06:03

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.

pataprogramming00:06:39

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.)