support for (error) response messages

BTW. the swagger + clojure is so nice to use, thanks for making it (and introducing into)!
... btw there are already other camelCase parameters in ring-swagger -
mapped 1:1 from the spec (:apiVersion etc).


On Wed, Jul 2, 2014 at 11:46 PM, Juho Teperi <notifications@github.com>
wrote:

> In examples/src/examples/thingie.clj:
>
> > @@ -43,8 +45,13 @@
> >        (POST* "/minus" []
> >          :return      Total
> >          :body-params [x :- Long y :- Long]
> > +        :responseMessages [{:code 400
> > +                            :responseModel ErrorEnvelope}]
>
> Convention is to use lisp-case (aka. kebab-case) instead of camelCase.
>
> I think using map of code-model pairs would look cleaner than vector of
> maps.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/metosin/compojure-api/pull/35/files#r14482542>.
>