This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-20
Channels
- # admin-announcements (1)
- # announcements (9)
- # aws (11)
- # babashka (33)
- # beginners (125)
- # calva (20)
- # cider (18)
- # clj-kondo (7)
- # cljs-dev (73)
- # clojure (72)
- # clojure-europe (18)
- # clojure-italy (13)
- # clojure-nl (13)
- # clojure-uk (9)
- # clojurescript (22)
- # core-async (7)
- # cursive (1)
- # data-science (25)
- # datomic (22)
- # duct (32)
- # emacs (13)
- # graalvm (5)
- # hoplon (16)
- # juxt (6)
- # kaocha (8)
- # leiningen (3)
- # malli (11)
- # meander (12)
- # off-topic (18)
- # pathom (109)
- # pedestal (5)
- # rdf (10)
- # reagent (1)
- # reitit (12)
- # shadow-cljs (27)
- # spacemacs (5)
- # sql (9)
- # tools-deps (7)
@johan178 there are various swagger examples here: https://github.com/metosin/reitit/tree/master/examples. They should get you most of the way there.
@plins just like with other routing libs, I recall Luminus template has web sockets, if not, the sente example is a good place to start
https://github.com/ptaoussanis/sente/blob/master/README.md#on-the-server-clojure-side
there is no reitit-based middleware / interceptor stack, so you need to encode/decode messages yourself, of by the ws-framework.
we have an in-house ws-impl that uses interceptors, could be integrated as a module to reitit at some point. But, not needed.
@ikitommi regarding swagger kebab case converting, I have made a small gist that id like to transform into a PR, or at least an example in the official documentation https://gist.github.com/pablo-develop/76eb66f6ea9f4db19a86aadf59a4d188 do you have any inputs?