Skip to content

Commit

Permalink
update :coercion doc
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Jun 17, 2024
1 parent b10a068 commit 2a8c4db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/compojure/api/middleware.clj
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,10 @@
- **:ring-swagger** options for ring-swagger's swagger-json method.
e.g. `{:ignore-missing-mappings? true}`
- **:coercion** A function from request->type->coercion-matcher, used
- **:coercion** Either an instance of Coercion or a keyword naming it, or a
function from request->type->coercion-matcher, used
in endpoint coercion for types :body, :string and :response.
Defaults to `compojure.api.middleware/default-coercion`
Defaults to `compojure.api.coercion/default-coercion`
Setting value to nil disables all coercion.
- **:components** Components which should be accessible to handlers using
Expand Down

0 comments on commit 2a8c4db

Please sign in to comment.