Skip to content

Commit 1025b1a

Browse files
committed
fix msg
1 parent 2529df3 commit 1025b1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compojure/api/swagger.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
(swagger2/transform-operations routes/non-nil-routes swagger))
2929

3030
(defn swagger-ui [options]
31-
(assert (map? options) "Since 1.2.0, compojure.api.swagger/swagger-ui takes just one map as argument, with `:path` for the path.")
31+
(assert (map? options) "Since 1.1.11, compojure.api.swagger/swagger-ui takes just one map as argument, with `:path` for the path.")
3232
(c/undocumented
3333
(swagger-ui/swagger-ui options)))
3434

3535
(defn swagger-docs [{:keys [path] :or {path "/swagger.json"} :as options}]
36-
(assert (map? options) "Since 1.2.0, compojure.api.swagger/swagger-docs takes just one map as argument, with `:path` for the path.")
36+
(assert (map? options) "Since 1.1.11, compojure.api.swagger/swagger-docs takes just one map as argument, with `:path` for the path.")
3737
(let [extra-info (dissoc options :path)]
3838
(c/GET path request
3939
:no-doc true

0 commit comments

Comments
 (0)