Fork me on GitHub
#reitit
<
2019-02-24
>
vinurs09:02:09

in parameters , some filed is optional, how to define this in spec

vinurs09:02:32

and how to doc some fileds

ikitommi11:02:16

@haiyuan.vinurs (s/keys :opt-un [:x]) or {(ds/opt :x) int?}

ikitommi11:02:54

docs, you need to wrap the specs into st/spec

vinurs11:02:39

reitit reorder the params?

valerauko14:02:35

http parameters aren't ordered...