From 7f9c1a4f81965a728e4839c0bb9aa8f94978e07b Mon Sep 17 00:00:00 2001 From: heyarne Date: Fri, 10 Jan 2020 16:27:15 +0100 Subject: [PATCH 1/2] Update to latest ring-swagger-ui --- project.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.clj b/project.clj index b076ed68..1dbc7aa2 100644 --- a/project.clj +++ b/project.clj @@ -27,7 +27,7 @@ [metosin/reitit-frontend "0.3.10"] [metosin/reitit-sieppari "0.3.10"] [metosin/reitit-pedestal "0.3.10"] - [metosin/ring-swagger-ui "2.2.10"] + [metosin/ring-swagger-ui "3.24.3"] [metosin/spec-tools "0.10.0"] [metosin/schema-tools "0.12.1"] [metosin/muuntaja "0.6.6"] From 9de2254e01723493a9941d808411994e10c2d297 Mon Sep 17 00:00:00 2001 From: heyarne Date: Mon, 10 Feb 2020 15:38:29 +0100 Subject: [PATCH 2/2] Update docs with instructions on how to use swagger-ui 2.x --- doc/ring/swagger.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/ring/swagger.md b/doc/ring/swagger.md index a30226b5..da18e632 100644 --- a/doc/ring/swagger.md +++ b/doc/ring/swagger.md @@ -63,6 +63,8 @@ Webjars also hosts a [version](https://github.com/webjars/swagger-ui) of the swa **NOTE**: Currently, swagger-ui module is just for Clojure. ClojureScript-support welcome as a PR! +**NOTE:** If you want to use swagger-ui 2.x you can do so by explicitly downgrading `metosin/ring-swagger-ui` to `2.2.10`. + ## Examples ### Simple example