Skip to content

Commit

Permalink
doc: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio committed Dec 28, 2020
1 parent 95509b8 commit f466d9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,11 @@ With the following Express route defintion
A path like `/files/some/long/path` will pass validation. The Express `req.params.path` property will hold the value `some/long/path`.
**Q:** Can I use discriminators with `oneOf` and `anyOf`?
**A:**
Currently, there is support for top level discriminators. See [top-level discriminator example](https://github.com/cdimascio/express-openapi-validator/tree/master/examples/8-top-level-discriminator)
**Q:** What happened to the `securityHandlers` property?
**A:** In v3, `securityHandlers` have been replaced by `validateSecurity.handlers`. To use v3 security handlers, move your existing security handlers to the new property. No other change is required. Note that the v2 `securityHandlers` property is supported in v3, but deprecated
Expand Down Expand Up @@ -1202,6 +1207,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
Expand Down

0 comments on commit f466d9e

Please sign in to comment.