0.1.2-SNAPSHOT, update deps

This commit is contained in:
Tommi Reiman 2018-05-26 20:38:15 +03:00
parent c21dca9d6e
commit 361e778fa3
3 changed files with 27 additions and 6 deletions

View file

@ -1,3 +1,25 @@
## 0.1.2-SNAPSHOT
### `reitit-schema`
* updated dependencies:
```clj
[metosin/schema-tools "0.10.3"] is available but we use "0.10.2"
```
### `reitit-swagger`
* Fix Swagger-paths, by [Kirill Chernyshov](https://github.com/DeLaGuardo).
### `reitit-swagger-ui`
* updated dependencies:
```clj
[metosin/jsonista "0.2.1"] is available but we use "0.2.0"
```
## 0.1.1 (2018-5-20) ## 0.1.1 (2018-5-20)
### `reitit-core` ### `reitit-core`

View file

@ -4,7 +4,7 @@
[meta-merge.core :refer [meta-merge]] [meta-merge.core :refer [meta-merge]]
[clojure.spec.alpha :as s] [clojure.spec.alpha :as s]
[clojure.set :as set] [clojure.set :as set]
[clojure.string :as string] [clojure.string :as str]
[reitit.coercion :as coercion])) [reitit.coercion :as coercion]))
(s/def ::id (s/or :keyword keyword? :set (s/coll-of keyword? :into #{}))) (s/def ::id (s/or :keyword keyword? :set (s/coll-of keyword? :into #{})))
@ -68,7 +68,7 @@
(->> (impl/segments path) (->> (impl/segments path)
(map #(if (impl/wild-or-catch-all-param? %) (map #(if (impl/wild-or-catch-all-param? %)
(str "{" (subs % 1) "}") %)) (str "{" (subs % 1) "}") %))
(string/join "/"))) (str/join "/")))
(defn create-swagger-handler [] (defn create-swagger-handler []
"Create a ring handler to emit swagger spec. Collects all routes from router which have "Create a ring handler to emit swagger spec. Collects all routes from router which have

View file

@ -20,9 +20,9 @@
[meta-merge "1.0.0"] [meta-merge "1.0.0"]
[ring/ring-core "1.6.3"] [ring/ring-core "1.6.3"]
[metosin/spec-tools "0.7.0"] [metosin/spec-tools "0.7.0"]
[metosin/schema-tools "0.10.2"] [metosin/schema-tools "0.10.3"]
[metosin/ring-swagger-ui "2.2.10"] [metosin/ring-swagger-ui "2.2.10"]
[metosin/jsonista "0.2.0"]] [metosin/jsonista "0.2.1"]]
:plugins [[jonase/eastwood "0.2.6"] :plugins [[jonase/eastwood "0.2.6"]
[lein-doo "0.1.10"] [lein-doo "0.1.10"]
@ -47,7 +47,6 @@
;; modules dependencies ;; modules dependencies
[metosin/reitit] [metosin/reitit]
[metosin/schema-tools]
[expound "0.6.0"] [expound "0.6.0"]
[orchestra "2017.11.12-1"] [orchestra "2017.11.12-1"]
@ -55,8 +54,8 @@
[ring "1.6.3"] [ring "1.6.3"]
[ikitommi/immutant-web "3.0.0-alpha1"] [ikitommi/immutant-web "3.0.0-alpha1"]
[metosin/muuntaja "0.5.0"] [metosin/muuntaja "0.5.0"]
[metosin/jsonista "0.2.0"]
[metosin/ring-swagger-ui "2.2.10"] [metosin/ring-swagger-ui "2.2.10"]
[metosin/jsonista "0.2.1"]
[criterium "0.4.4"] [criterium "0.4.4"]
[org.clojure/test.check "0.9.0"] [org.clojure/test.check "0.9.0"]