Skip to content

v2.1.0

Choose a tag to compare

@inigomarquinez inigomarquinez released this 24 Jul 15:32
· 72 commits to master since this release
9216e1c

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.0
    • eslint: 6.8.0 → 7.5.0
    • eslint-config-airbnb-base: 14.1.0 → 14.2.0
    • eslint-plugin-import: 2.20.2 → 2.22.0
    • eslint-plugin-jest: 23.9.0 → 23.18.0
    • jest: 26.0.1 → 26.1.0
    • jest-junit: 10.0.0 → 11.0.1

Context

Changelog