This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-02
Channels
- # announcements (6)
- # babashka (21)
- # beginners (38)
- # biff (2)
- # calva (14)
- # cider (5)
- # clerk (4)
- # cljdoc (2)
- # clojure (11)
- # clojure-europe (2)
- # clojure-norway (5)
- # clojure-spec (4)
- # core-typed (8)
- # data-science (5)
- # deps-new (15)
- # events (1)
- # fulcro (2)
- # graalvm (33)
- # holy-lambda (3)
- # hyperfiddle (19)
- # kaocha (1)
- # portal (5)
- # test-check (1)
- # xtdb (9)
- # yamlscript (2)
It's not immediately obvious to me how to support an open-api (or swagger) endpoint, with biff's usage of reitit, given this example: https://github.com/metosin/reitit/blob/master/examples/ring-malli-swagger/src/example/server.clj - I expect I can figure it out, but maybe someone here has done it (or understands the routing stuff better than I do), or maybe it's something best done by modifying biff?
I haven't done any swagger stuff myself, but you can replace the biff/reitit-handler
fn with it's implementation and then that should give you enough flexibility to do whatever you need.
👍 2