This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-28
Channels
- # beginners (122)
- # boot (5)
- # cider (30)
- # clojure (16)
- # clojure-berlin (1)
- # clojure-dev (7)
- # clojure-spec (2)
- # clojure-uk (31)
- # clojurescript (3)
- # core-async (1)
- # cursive (5)
- # hoplon (38)
- # keechma (1)
- # leiningen (4)
- # off-topic (9)
- # onyx (2)
- # re-frame (32)
- # reagent (3)
- # reitit (11)
- # rum (1)
- # shadow-cljs (187)
- # spacemacs (3)
- # tools-deps (9)
- # uncomplicate (15)
- # vim (2)
guide for the registry: https://metosin.github.io/reitit/ring/middleware_registry.html
@yogthos, took your suggested way with multipart: adding a multipart middleware into an endpoint will make the endpoint understand :multipart
parameters and emits the required swagger info. There is a spec multipart/temp-file-param
, not sure in which ns to put the Schema version. Maybe all schemas into reitit.ring.schema
? Ideas?
and actually, you can mount the multipart/multipart-middleware
globally to a router. It attaches only to routes which have the :multipart
parameters defined.