Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio authored Oct 8, 2019
1 parent 0ffef34 commit 01b1c5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ new OpenApiValidator({
validateResponses: true, // false by default
}).install(app);
```
_Note: response validation is currently a beta feature_

Then, register an error handler to report and customize errors

Expand Down Expand Up @@ -80,6 +79,8 @@ new OpenApiValidator(options).install(app);
- true - validate responses
- false - (default) do not validate responses

_Response validation is currently a beta feature_

**`coerceTypes:`** change data type of data to match type keyword. See the example in Coercing data types and coercion rules. Option values:

- true - (default) coerce scalar data types.
Expand Down

0 comments on commit 01b1c5d

Please sign in to comment.