Fork me on GitHub
#malli
<
2021-11-26
>
emccue16:11:08

Whats the best way to add documentation to a schema

emccue16:11:49

[:map {:doc "A position"}
  [:x {:doc "The x coordinate"} :int]
  [:y {:doc "The y coordinate"} :int]]

emccue16:11:09

i’m fine making something up, but if there is a “standard” schema property i would want to use it

ikitommi19:11:36

:title and :description are used for JSON SCHEMA. Kinda long, but current.. standard