File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 28
28
(swagger2/transform-operations routes/non-nil-routes swagger))
29
29
30
30
(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." )
32
32
(c/undocumented
33
33
(swagger-ui/swagger-ui options)))
34
34
35
35
(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." )
37
37
(let [extra-info (dissoc options :path )]
38
38
(c/GET path request
39
39
:no-doc true
You can’t perform that action at this time.
0 commit comments