Fork me on GitHub
#yada
<
2016-03-17
>
escherize13:03:37

I have an issue with the docs :O

escherize13:03:17

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:

escherize13:03:39

(def api
  ["/hello-swagger"
   (yada/swaggered
    ["/hello" hello]
    {:info {:title "Hello World!"
            :version "1.0"
            :description "Demonstrating yada + swagger"}
     :basePath "/hello-swagger"})])

malcolmsparks17:03:40

@escherize thanks. Will fix now

malcolmsparks17:03:27

@escherize where were you reading that doc?

malcolmsparks17:03:45

Seems fixed already

escherize23:03:17

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

escherize23:03:50

really enjoying yada so far. aleph seems like the system to beat to me