0.15.0
- Use latest
ring-swagger
:body
and others no langer take description as third param, instead use:body [body (describe Schema "The description")]
describe
works also for Java classes:query-params [x :- (describe Long "first-param")]
- And inside defschema
(s/defschema Schema {:sub (describe [{:x Long :y String}] "Array of stuff")})