mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 08:21:11 +00:00
fix example
This commit is contained in:
parent
0728154751
commit
12f0970e39
1 changed files with 2 additions and 2 deletions
|
|
@ -167,8 +167,8 @@ You can also specify request and response body schemas per content-type. The syn
|
|||
:responses {200 {:content {"application/json" {:w s/Int}
|
||||
"application/edn" {:x s/Int}}
|
||||
;; default if no content-type matches:
|
||||
:body {:ww s/Int}}
|
||||
:handler ...}}}]]
|
||||
:body {:ww s/Int}}}
|
||||
:handler ...}}]]
|
||||
{:data {:middleware [rrc/coerce-exceptions-middleware
|
||||
rrc/coerce-request-middleware
|
||||
rrc/coerce-response-middleware]}})))
|
||||
|
|
|
|||
Loading…
Reference in a new issue