Skip to content

Commit

Permalink
update resource :coercion doc to 2.x representation
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed May 31, 2024
1 parent 52619f4 commit 80b524b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compojure/api/resource.clj
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@
Top-level mw are applied first if route matches, method-level
mw are applied next if method matches
- **:coercion** A function from request->type->coercion-matcher, used
- **:coercion** A named coercion or instance of Coercion
in resource coercion for :body, :string and :response.
Setting value to `(constantly nil)` disables both request- &
Setting value to `nil` disables both request- &
response coercion. See tests and wiki for details.
Enhancements to ring-swagger operations map:
Expand Down

0 comments on commit 80b524b

Please sign in to comment.