Fork me on GitHub
#ring-swagger
<
2016-12-01
>
ikitommi06:12:05

@tom the “text/plain” is not registered into ring-middleware-format to parse the InputStream into :body-params. You could register the text/plain to be JSON so it would get parsed automatically, but not sure if that’s a good idea.

ikitommi06:12:34

also, the r-m-f will be replaced with Muuntaja on 1.2.0, which will be released soon. If you want to configure text/plain at api-level and you are not on prod right now, you could update to "1.2.0-alpha1" to try to configure it with the guides linked from https://github.com/metosin/compojure-api/blob/master/CHANGELOG.md#120-alpha1

ikitommi06:12:28

would appreciate feedback on the guide & configuration options in general.

ikitommi06:12:52

1.2.0 will be much faster & supports async ring.

elahti17:12:17

@ikitommi nice blog post about clojure.spec, thanks!

ikitommi18:12:56

@elahti thanks! glad you like it.