This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-25
Channels
- # admin-announcements (3)
- # alda (2)
- # beginners (10)
- # boot (44)
- # cider (31)
- # cljs-dev (5)
- # cljsjs (2)
- # cljsrn (17)
- # clojure (181)
- # clojure-austin (2)
- # clojure-brasil (18)
- # clojure-canada (1)
- # clojure-conj (5)
- # clojure-dev (11)
- # clojure-gamedev (30)
- # clojure-russia (380)
- # clojure-spec (50)
- # clojure-uk (35)
- # clojurescript (146)
- # clojutre (1)
- # component (1)
- # cursive (62)
- # datomic (27)
- # dirac (7)
- # editors (23)
- # emacs (7)
- # events (34)
- # funcool (22)
- # hoplon (134)
- # jobs (22)
- # jobs-rus (7)
- # juxt (1)
- # kekkonen (1)
- # lein-figwheel (54)
- # leiningen (7)
- # luminus (2)
- # off-topic (5)
- # om (4)
- # onyx (27)
- # proton (5)
- # protorepl (2)
- # re-frame (16)
- # reagent (29)
- # rethinkdb (2)
- # schema (1)
- # untangled (61)
- # yada (9)
I have a schema
(s/defschema PatientSearchRequest
{:type (s/enum :exact :similar :phonetic)
:linked? s/Bool
:origin {(s/optional-key :foo) s/Bool
(s/optional-key :baz) s/Bool
(s/optional-key :bar) s/Bool}})
Which i am using in the below handler,
(defnk ^:command search
"Searches a patient"
{:responses {:default {:schema types/PatientSearchResponse}}}
[data :- types/PatientSearchRequest]
(success data))
How do i make type and linked to be query parameters and origin to be part of the http request body? Currently in swagger the everything is ended up as http request body.