Skip to content

Commit 4c1a3e3

Browse files
committed
we don't use ring.swagger.middleware/catch-validation-errors any more
1 parent cf81b42 commit 4c1a3e3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ lein new compojure-api my-api +clojure-test
138138
There is prepackaged middleware `compojure.api.middleware/api-middleware` for common web api usage. It's a enhanced version of `compojure.handler/api` adding the following:
139139

140140
- catching slingshotted http-errors (`ring.middleware.http-response/catch-response`)
141-
- catching model validation errors (`ring.swagger.middleware/catch-validation-errors`)
142141
- catching unhandled exceptions (`compojure.api.middleware/wrap-exceptions`)
143142
- support for different protocols via `ring.middleware.format-params/wrap-restful-params` and `ring.middleware.format-response/wrap-restful-response`
144143
- default supported protocols are: `:json-kw`, `:yaml-kw`, `:edn`, `:transit-json` and `:transit-msgpack`

0 commit comments

Comments
 (0)