Skip to content

v2.0.2

Choose a tag to compare

@inigomarquinez inigomarquinez released this 06 May 11:07
· 84 commits to master since this release
bbb20f6

Main changes

  • Added optional endpoint to show UI with API documentation (apiDocEndpoint in validator config parameters).
  • Added console warning message when using jsdoc format to inform about deprecation of this format.
  • Removed ignorePaths as apiDocEndpoint and validationEndpoint have been declared before initializing the validator, so they are not included in the validation process any more.
  • Added example of allOf to yaml docs.

Other changes

  • Added a function to run a demo server to be able to test the library.
  • Added npm outdated to pre-push hook.
  • Updated depencencies:
    • express-openapi-validator: 3.10.0 => 3.12.7
    • openapi-enforcer: 1.10.1 => 1.10.3
    • swagger2openapi: 6.0.2 => 6.0.3
    • eslint-plugin-jest: 23.8.2 => 23.9.0
    • husky: 4.2.3 => 4.2.5
    • jest: 25.2.4 => 26.0.1

Context

Changelog