If I’m using compojure-api, and I have something like:
(POST /foo []
:body [bar (make-schema baz)])
Is there a way of specifying a name for the body? (So that I don’t end up with Body24850 in swagger). Maybe something with description or field from ring.swagger.schema? They both talk about metadata, but I couldn’t find anything more specific.I got it working by setting :name and :ns metadata (it didn’t work with just :name).