Default Interceptors
[metosin/reitit-interceptors "0.7.0-alpha7"]
Just like the ring default middleware, but for interceptors.
Parameters handling
Exception handling
Content Negotiation
reitit.http.interceptors.muuntaja/format-interceptor
reitit.http.interceptors.muuntaja/format-negotiate-interceptor
reitit.http.interceptors.muuntaja/format-request-interceptor
reitit.http.interceptors.muuntaja/format-response-interceptor
Multipart request handling
Example app
See an example app with the default interceptors in action: https://github.com/metosin/reitit/blob/master/examples/http-swagger/src/example/server.clj.