This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-26
Channels
- # announcements (7)
- # babashka (6)
- # beginners (41)
- # clara (27)
- # clerk (2)
- # cljs-dev (6)
- # clojure (121)
- # clojure-europe (31)
- # clojure-nl (2)
- # clojure-norway (98)
- # clojure-uk (12)
- # clojuredesign-podcast (7)
- # conjure (5)
- # cursive (22)
- # holy-lambda (22)
- # hoplon (9)
- # hyperfiddle (19)
- # leiningen (9)
- # malli (4)
- # music (1)
- # nbb (6)
- # off-topic (10)
- # podcasts-discuss (1)
- # polylith (4)
- # re-frame (2)
- # reitit (2)
- # releases (1)
- # sci (1)
- # shadow-cljs (59)
- # sql (9)
- # vim (41)
- # xtdb (23)
How do you add properties to the key of a map-of
schema? I’d like to specify that it’s a map of a path to a map-of an http-method to a value.
Not sure where to put the props
[:map-of {:title "path"} ;;; <- where does this go
string?
[:map-of [:enum {:title "method"} :get :post :patch :put :delete]] :map]
I’ll try, think the problem might actually be the tool I’m using (redoc) to display the open api spec. [:string {:path "name"}]
is good to know. Thanks 🙂