Compojure Api Versions Save

Sweet web apis with Compojure & Swagger

0.16.1

9 years ago
  • Compiled without AOT
  • Removed :yaml-in-html and :clojure from default response formats

0.16.0

9 years ago
  • 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

9 years ago
  • 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

9 years ago
  • 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

10 years ago
  • 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