Pitoco is a tool which eables programmers to infer schema boundaries from their applications. It started by inferring REST interfaces, but now we have the option to infer Clojure var schemas (using Malli + spec provider) from runtime usage (e.g. it can instrument vars of your interest (by using, for example, some ns prefix), then run your tests normally, then Pitoco can also infer schemas as it colleced input/output information from the instrumented vars).
Pitoco can also generate files which store information from the
runtime usages (examples, var schemas etc). You can commit these files
to your repo (ignoring diffs using
See a video about it here.