Releases: metosin/compojure-api
Releases · metosin/compojure-api
0.16.1
0.16.0
- Some cleaning
- Requires now clojure 1.6.0 for
clojure.walk
- Requires now clojure 1.6.0 for
- Support other formats in addition to JSON
- Uses the ring-middleware-format to parse requests and encode responses
- Fixes #43: Middlewares added to route with :middlewares shouldn't leak to other routes in same context anymore
0.15.1
- Update to latest
ring-swagger
- Fixes #16: If Schema has many properties, they are now shown in correct order on Swagger-UI
hash-map
loses the order if it has enough properties- Use flatland.ordered.map/ordered-map when Schema has many properties and you want to keep the order intact
(s/defschema Thingie (ordered-map :a String ...))
- Fixes #16: If Schema has many properties, they are now shown in correct order on Swagger-UI
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")})