v2.1.0
Main changes
This PR adds the possibility to set advanced configuration through the options object when initializing it.
This advanced configuration is related to the underlying validator. More information here (https://www.npmjs.com/package/express-openapi-validator#advanced-usage).
By default the validator will take the default values except for validateResponses, that we force to true if there is no property in the options object to customize it (I did it to avoid breaking down current systems using the validator).
This shouldn't affect to the services using this library, as all the options have a default value.
Other changes
- Updated depencencies:
js-yaml: 3.13.1 → 3.14.0eslint: 6.8.0 → 7.5.0eslint-config-airbnb-base: 14.1.0 → 14.2.0eslint-plugin-import: 2.20.2 → 2.22.0eslint-plugin-jest: 23.9.0 → 23.18.0jest: 26.0.1 → 26.1.0jest-junit: 10.0.0 → 11.0.1
Context
- Close #23
Changelog
- f6b2f6b feat: fully customize options of underlying validator by @inigomarquinez
- 248eae9 chore: updated dependencies by @inigomarquinez
- bca03c6 chore: upgrade package version by @inigomarquinez