ring-swagger

ring-swagger & compojure-api
scythx 2020-11-28T02:31:20.006900Z

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?

scythx 2020-11-28T06:37:43.007200Z

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