compare
- Optional integration with Component.
Use either :components
-option of api-middleware
or wrap-components
-middleware
to associate the components with your API. Then you can use :components
-restructuring
to destructure your components using letk syntax.
- fix for #123
- support for pluggable coercion, at both api-level & endpoint-level with option
:coercion
. See thethe tests.
- coercion is a function of type -
ring-request->coercion-type->coercion-matcher
allowing protocol-based coercion in the future
* BREAKING*: if you have created custom restructurings using src-coerce
, they will break (nicely at compile-time)
- new restucturing
:swagger
just for swagger-docs. Does not do any coercion.
(GET* "/documented" []
:swagger {:responses {200 {:schema User}
404 {:schema Error
:description "Not Found"} }
:paramerers {:query {:q s/Str}
:body NewUser}}}
...)
[cheshire "5.5.0"] is available but we use "5.4.0"
[backtick "0.3.3"] is available but we use "0.3.2"
[lein-ring "0.9.6"] is available but we use "0.9.4"