We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b10a068 commit 2a8c4dbCopy full SHA for 2a8c4db
src/compojure/api/middleware.clj
@@ -308,9 +308,10 @@
308
- **:ring-swagger** options for ring-swagger's swagger-json method.
309
e.g. `{:ignore-missing-mappings? true}`
310
311
- - **:coercion** A function from request->type->coercion-matcher, used
+ - **:coercion** Either an instance of Coercion or a keyword naming it, or a
312
+ function from request->type->coercion-matcher, used
313
in endpoint coercion for types :body, :string and :response.
- Defaults to `compojure.api.middleware/default-coercion`
314
+ Defaults to `compojure.api.coercion/default-coercion`
315
Setting value to nil disables all coercion.
316
317
- **:components** Components which should be accessible to handlers using
0 commit comments