Skip to content

Commit

Permalink
Docs for #3061
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Aug 22, 2016
1 parent b7e2938 commit fccdd62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -2613,7 +2613,9 @@ following options:
context (accessible in rules as `Joi.ref('$query.key')`). Note that validation is performed in
order (i.e. headers, params, query, payload) and if type casting is used (converting a string to
number), the value of inputs not yet validated will reflect the raw, unvalidated and unmodified
values. The `validate` object supports:
values. If the validation rules for `headers`, `params`, `query`, and `payload` are defined
at both the routes defaults level and an individual route, the individual route settings override
the routes defaults (the rules are not merged). The `validate` object supports:

- `headers` - validation rules for incoming request headers (note that all header field names
must be in lowercase to match the headers normalized by node). Values allowed:
Expand Down

0 comments on commit fccdd62

Please sign in to comment.