This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-03
Channels
- # adventofcode (151)
- # asami (34)
- # babashka (43)
- # beginners (111)
- # cider (2)
- # clj-kondo (6)
- # cljdoc (12)
- # clojure (140)
- # clojure-australia (10)
- # clojure-europe (14)
- # clojure-france (5)
- # clojure-gamedev (5)
- # clojure-nl (4)
- # clojure-uk (10)
- # clojurescript (20)
- # community-development (9)
- # conjure (1)
- # core-async (4)
- # cryogen (3)
- # cursive (2)
- # datomic (17)
- # emacs (9)
- # events (1)
- # fulcro (27)
- # juxt (8)
- # kaocha (2)
- # lambdaisland (14)
- # off-topic (23)
- # pathom (37)
- # pedestal (2)
- # re-frame (8)
- # reagent (8)
- # reclojure (9)
- # reitit (5)
- # reveal (34)
- # shadow-cljs (27)
- # spacemacs (10)
- # tools-deps (123)
- # vim (28)
- # xtdb (17)
Hello, is this correct way to coerce vector of string?
:get {:responses {200 {:body [string?]}}
:handler (fn [{{:keys [query]} :parameters}]
(let [users (user/get-by-range! query)]
{:status 200
:body ["ok"]}))}
i keep getting error
Response coercion failed: #reitit.coercion.CoercionError{:spec #Spec{:form (clojure.spec.alpha/coll-of (spec-tools.core/spec {:spec clojure.core/string?, :type :string, :leaf? true, :name :spec/26080}) :into []), :type :vector, :leaf? false}, :problems {:clojure.spec.alpha/problems ({:path [], :pred clojure.core/coll?, :val #object[java.io.ByteArrayInputStream 0x12d0354f "java.io.ByteArrayInputStream@12d0354f"], :via [], :in []}), ....
Hi there. Is it possible to use the newer version of Swagger UI 3 with an older version Reitit? The project is using metosin/reitit "0.3.10"
but I would like to use ring-swagger-ui "3.36.0"
.
If I provide our dep of [metosin/ring-swagger-ui "3.36.0"]
the problem is that the swagger handler still creates HTML expecting older UI (it has links to wrong css/js assets, etc)