ring-swagger

ring-swagger & compojure-api
Mikko Nylén 2018-11-22T05:46:45.122100Z

Yes! Turns out our spec wasn't spec at all, but more like schema-spec-hybrid. Nobody just noticed because it was only used for swagger generation... and I've never used spec before. 🙂

Mikko Nylén 2018-11-22T05:58:52.124500Z

Should this work with the spec coercion? https://github.com/metosin/compojure-api/issues/115 I have :query-params [ids :- [int?]], but the request seems to only pass validation if there's more than one id.

Mikko Nylén 2018-11-22T05:59:10.125Z

I.e. /endpoint?ids=123 doesn't work. But /endpoint?ids=123&ids=234 works.

Mikko Nylén 2018-11-22T06:24:50.126100Z

Switched back to good old schema.core. Everything works without hassle. 😛