Fork me on GitHub
#malli
<
2020-04-01
>
mike_ananev11:04:40

What is an idiomatic way to put docstring into spec? via properties?

4
teodorlu12:04:28

I suspect that if you want to use Malli for your specs, you might want to model your documentation as pure data too. I'm eager to hear where other people would prefer to store those docstrings.

ikitommi13:04:10

@mike1452 keys :title and :description are the default keys for docs, but free to use any other keys too.

👍 8
ikitommi13:04:23

those keys get pulled into JSON Schema & Swagger Schema docs.

👍 8
ikitommi13:04:37

(and should be used for other documentation too)