This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-17
Channels
- # admin-announcements (4)
- # beginners (35)
- # boot (183)
- # cider (28)
- # cljs-dev (4)
- # cljsjs (1)
- # cljsrn (5)
- # clojure (52)
- # clojure-austin (4)
- # clojure-russia (83)
- # clojure-sdn (1)
- # clojure-uk (18)
- # clojurescript (48)
- # core-matrix (5)
- # cursive (4)
- # datomic (23)
- # devcards (2)
- # dirac (43)
- # editors (2)
- # emacs (4)
- # events (5)
- # funcool (2)
- # hoplon (81)
- # immutant (3)
- # juxt (3)
- # ldnclj (1)
- # luminus (12)
- # off-topic (6)
- # om (72)
- # onyx (32)
- # parinfer (2)
- # pedestal (1)
- # proton (6)
- # protorepl (3)
- # re-frame (30)
- # reagent (2)
- # spacemacs (2)
- # specter (1)
- # testing (1)
- # uncomplicate (3)
- # untangled (15)
- # yada (10)
this is taken from that page and wont compile:
(def api
["/hello-swagger"
(yada/swaggered
{:info {:title "Hello World!"
:version "1.0"
:description "Demonstrating yada + swagger"}
:basePath "/hello-swagger"}
["/hello" hello])])
after some digging I've found that it compiles and I can continue on with the tutorial when I switch the order of the arguments to yada/swaggered
. i.e:(def api
["/hello-swagger"
(yada/swaggered
["/hello" hello]
{:info {:title "Hello World!"
:version "1.0"
:description "Demonstrating yada + swagger"}
:basePath "/hello-swagger"})])
@escherize thanks. Will fix now
@escherize where were you reading that doc?
Seems fixed already
hey @malcolmsparks : I was reading the doc here: https://yada.juxt.pro/manual/020_hello.md and here's a screenshot I just took of it: http://take.ms/yiLzj