Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swagger-mock-validator

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-mock-validator - npm Package Versions

13

7.0.0

Diff

Changelog

Source

7.0.0 (2019-08-26)

Bug Fixes

  • do not fail if the spec defines unsupported security requirements (004729a)

BREAKING CHANGES

  • Prior to this change the tool used to fail when a pact request with no apparent auth was validated against a swagger operation containing security requirements both supported and unsupported by the tool (e.g. basic auth and OAuth2). Now if at least one unsupported security requirement is defined in the swagger operation the validation will pass. It is recommended that consumers and providers coordinate upgrading to this release so that both sides agree on what is considered valid vs invalid.
medo-atlassian
published 6.0.2 •

Changelog

Source

6.0.2 (2019-06-14)

<a name="6.0.1"></a>

argos83
published 6.0.1 •

Changelog

Source

6.0.1 (2019-02-27)

Bug Fixes

  • definitions no needed for parameter schema validation (4a693d6)

<a name="6.0.0"></a>

bsayers
published 6.0.0 •

Changelog

Source

6.0.0 (2019-02-05)

Bug Fixes

  • skip request and response body validation when the content-type is unknown (d400a1e)

Features

  • add configurable object depth output to CLI (ecfa0c0)

BREAKING CHANGES

  • Prior to this change the tool used to fail when a pact response body was validated against an unsupported swagger mime type. Now when an unsupported mime type is encountered request body validation is skipped. It is recommended that consumers and providers coordinate upgrading to this release so that both sides agree on what is considered valid vs invalid.

<a name="5.2.1"></a>

medo-atlassian
published 5.2.1 •

Changelog

Source

5.2.1 (2018-10-02)

Bug Fixes

  • validate wildcards for media types, drop buggy support for media type parameters (602abbd)

<a name="5.2.0"></a>

medo-atlassian
published 5.2.0 •

Changelog

Source

5.2.0 (2018-09-13)

Features

  • support basic auth when using Pact Broker (be5e106), closes #72

<a name="5.1.0"></a>

medo-atlassian
published 5.1.0 •

Changelog

Source

5.1.0 (2018-09-06)

Features

  • support tagging when using Pact Broker (f2ca58b), closes #71

<a name="5.0.1"></a>

argos83
published 5.0.1 •

Changelog

Source

5.0.1 (2018-08-29)

Bug Fixes

  • pin swagger-parser to avoid breaking changes when validation logic is changed (ab6c04c)

<a name="5.0.0"></a>

argos83
published 5.0.0 •

Changelog

Source

5.0.0 (2018-08-23)

Bug Fixes

  • do not crash if path-item contains an ^x- property (d57f887)
  • fixed issue with format not being validated for bodies containing primitive values (dca4654)
  • use case-sensitive matching for query string parameters (f269cd9)

Chores

  • removed support for node version 4.x and added build test for node version 10.x (52c4963)

Features

  • add support for OpenApi 3 specs (19deb93)
  • removed swagger warnings from validation results (9a3b757)

BREAKING CHANGES

  • Removed support for node 4.x. Migrate to node 6.x or higher.
  • Prior to this change swagger-mock-validator would return any pact/swagger warnings or errors as part of the validation result. Now when a validation error is encountered with a swagger or pact file the tool will fail with an error. Warnings are no longer reported at all. The list of validation result codes returned by the programatic API have been updated to reflect this change.

<a name="4.0.1"></a>

bsayers
published 4.0.1 •

Changelog

Source

4.0.1 (2018-07-05)

Bug Fixes

  • paths without parameters not matching before paths with parameters (b0f0f4e), closes #69

<a name="4.0.0"></a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc