Skip to content

Releases: metosin/compojure-api

0.16.1

11 Sep 16:15
Compare
Choose a tag to compare
  • Compiled without AOT
  • Removed :yaml-in-html and :clojure from default response formats

0.16.0

10 Sep 17:53
Compare
Choose a tag to compare
  • Some cleaning
    • Requires now clojure 1.6.0 for clojure.walk
  • Support other formats in addition to JSON
  • Fixes #43: Middlewares added to route with :middlewares shouldn't leak to other routes in same context anymore

0.15.1

19 Aug 19:42
Compare
Choose a tag to compare
  • 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 ...))

0.15.0

10 Aug 12:55
Compare
Choose a tag to compare
  • 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")})

0.11.3

12 May 08:09
Compare
Choose a tag to compare
  • remove non-first trailing spaces from compojure-routes for swagger-docs.
  • updated depedencies:
    • [metosin/ring-swagger "0.8.7"]
    • [metosin/ring-swagger-ui "2.6.16-2"]
  • Moved swagger-ui handler to ring-swagger