Permalink
Browse files

Update muuntaja to 0.3.0-SNAPSHOT

  • Loading branch information...
miikka committed May 12, 2017
1 parent 405bd38 commit aeeb1f15dd5e3a0b0ed27501b2d5aaebea874e65
Showing with 3 additions and 8 deletions.
  1. +1 −1 project.clj
  2. +0 −4 test/kekkonen/api_test.clj
  3. +2 −3 test/kekkonen/middleware_test.clj
@@ -14,7 +14,7 @@
[metosin/ring-swagger-ui "2.2.8"]
[metosin/ring-http-response "0.8.1"]
[ring-middleware-format "0.7.0"]
[metosin/muuntaja "0.1.0"]
[metosin/muuntaja "0.3.0-SNAPSHOT"]
[ring/ring-defaults "0.2.1"]

;; client stuff, separate module?
@@ -219,17 +219,13 @@
:version "0.0.1"}
:consumes (just
["application/json"
"application/x-yaml"
"application/edn"
"application/msgpack"
"application/transit+json"
"application/transit+msgpack"]
:in-any-order)
:produces (just
["application/json"
"application/x-yaml"
"application/edn"
"application/msgpack"
"application/transit+json"
"application/transit+msgpack"]
:in-any-order)
@@ -9,8 +9,7 @@
[ring.util.http-predicates :as hp]
[plumbing.core :as p]
[kekkonen.common :as kc]
[muuntaja.core :as muuntaja]
[muuntaja.options :as options]))
[muuntaja.core :as muuntaja]))

(p/defnk ^:handler plus
[[:request [:query-params x :- s/Int, y :- s/Int]]]
@@ -54,7 +53,7 @@

(facts "api-info"
(let [options {:formats (muuntaja/create
(options/formats
(muuntaja/select-formats
muuntaja/default-options
["application/json"
"application/transit+json"

0 comments on commit aeeb1f1

Please sign in to comment.