Skip to content

v1.1.2

Choose a tag to compare

@inigomarquinez inigomarquinez released this 22 Jan 09:47
· 116 commits to master since this release
47837dc

Updated dependencies:

  • express-swagger-generator from 1.1.15 to 1.1.17 => this solves an issue with anyOf and allOf types
  • swagger-model-validator from 3.0.12 to 3.0.16
  • swagger-ui-express from 4.1.2 to 4.1.3
  • eslint from 6.2.1 to 6.8.0
  • eslint-plugin-import from 2.18.2 to 2.20.0
  • eslint-plugin-jest from 22.15.2 to 23.6.0
  • husky from 3.0.4 to 4.0.10
  • jest-junit from 9.0.0 to 10.0.0

Refactor:

  • The paths extracted from the documentation were calculated in every call to the validation process. This has been extracted be called just once when the validator is initialized.

Docs:

  • Added JSDoc documentation to all the methods.

Notes:

  • There is still a bug in the swagger-model-validator related to oneOf and allOf types, that don't work yet. A PR has been created so the issue can be solved by the developers of the library.