Fork me on GitHub
#ring-swagger
<
2020-11-28
>
scythx02:11:20

Hello, in compojure-api i can define enum with (http://shema.co/enum :L :M :S) with Schema. How can i do the same thing with clojure.spec? Which approaches is more recommended? schema or spec?

scythx06:11:43

nevermind, i got it. To anyone that facing the same problem, use spec-tools.data-spec/opt.