Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio committed Oct 7, 2020
1 parent f7422dc commit b7000a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,8 @@ Specifies the options to passthrough to multer. express-openapi-validator uses m

Determines whether the validator should coerce value types to match the type defined in the OpenAPI spec.

_Applies **only** to path params, query string, headers, and cookies.

- `true` (**default**) - coerce scalar data types.
- `"array"` - in addition to coercions between scalar types, coerce scalar data to an array with one element and vice versa (as required by the schema).

Expand Down

0 comments on commit b7000a3

Please sign in to comment.