This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-10
Channels
- # ai (2)
- # beginners (3)
- # boot (113)
- # bristol-clojurians (2)
- # cider (77)
- # clara (43)
- # cljs-dev (48)
- # cljsrn (9)
- # clojure (319)
- # clojure-austin (2)
- # clojure-czech (4)
- # clojure-denmark (4)
- # clojure-france (4)
- # clojure-italy (4)
- # clojure-russia (2)
- # clojure-serbia (10)
- # clojure-spec (79)
- # clojure-uk (64)
- # clojurescript (109)
- # clr (3)
- # conf-proposals (21)
- # core-async (19)
- # cursive (26)
- # datascript (11)
- # datomic (19)
- # devcards (1)
- # emacs (25)
- # figwheel (9)
- # hoplon (31)
- # jobs (7)
- # jobs-discuss (14)
- # leiningen (10)
- # lumo (11)
- # off-topic (37)
- # om (40)
- # onyx (4)
- # perun (8)
- # planck (3)
- # rdf (4)
- # re-frame (40)
- # ring (11)
- # ring-swagger (2)
- # rum (21)
- # spacemacs (2)
- # specter (50)
- # untangled (93)
- # yada (13)
Quick question, how do I serve static resources from a directory on the classpath? I want a route something like this: ["docs" (yada/as-resource (io/resource "docs/")))]
there's a new-classpath-resource function for this.
Watch out, it only works when the path is non-empty
(Currently)
Riverford? My wife and I are loyal customers. We buy a LOT from them. :)
Hello all, I want to see swagger working in minimal way, so, I´ve tried
(def api
["/helloapi"
(yada/swaggered
{:info {:title "Hello World!" :version "1.0"
:description "Demonstrating yada + swagger"}}
["/" {"hello" (yada "Hello World!")
"helloatom" (yada (atom "Hello World!"))}])])
from manual