mirror of
https://github.com/metosin/reitit.git
synced 2025-12-24 10:58:25 +00:00
doc: mention :multipart in doc/ring/coercion.md
This commit is contained in:
parent
de2d810b7c
commit
83b747c7c6
1 changed files with 9 additions and 8 deletions
|
|
@ -4,14 +4,15 @@ Basic coercion is explained in detail [in the Coercion Guide](../coercion/coerci
|
|||
|
||||
The following request parameters are currently supported:
|
||||
|
||||
| type | request source |
|
||||
|------------|--------------------------------------------------|
|
||||
| `:query` | `:query-params` |
|
||||
| `:body` | `:body-params` |
|
||||
| `:request` | `:body-params`, allows per-content-type coercion |
|
||||
| `:form` | `:form-params` |
|
||||
| `:header` | `:header-params` |
|
||||
| `:path` | `:path-params` |
|
||||
| type | request source |
|
||||
|--------------|--------------------------------------------------|
|
||||
| `:query` | `:query-params` |
|
||||
| `:body` | `:body-params` |
|
||||
| `:request` | `:body-params`, allows per-content-type coercion |
|
||||
| `:form` | `:form-params` |
|
||||
| `:header` | `:header-params` |
|
||||
| `:path` | `:path-params` |
|
||||
| `:multipart` | `:multipart-params`, only properly supports `clojure.spec`, see [Default Middleware](default_middleware.md) |
|
||||
|
||||
To enable coercion, the following things need to be done:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue