New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

openapi-enforcer

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-enforcer - npm Package Versions

1
14

1.15.0

Diff

Changelog

Source

1.15.0

Added

  • Partial TypeScript Support

    Added some type support for the enforcer. It's a start.

  • Added Schema Hooks

    Developers can now add hooks before and after serialization, deserialization, and validation. See the documentation on the schema component.

gi60s
published 1.14.3 •

Changelog

Source

1.14.3

Fixed

  • Reporting for Equivalent Paths

    A bug was identified that could incorrectly report the wrong paths when equivalent paths were identified.

gi60s
published 1.14.2 •

Changelog

Source

1.14.2

Fixed

  • Example Validation with One Of Schema

    There were several problems with validating examples against schemas with oneOf. This has been fixed.

gi60s
published 1.14.1 •

Changelog

Source

1.14.1

Fixed

  • Security Requirement OpenID Allowed Scopes

    The OpenID security requirement incorrectly did not allow scopes. This has been fixed in this release.

gi60s
published 1.14.0 •

Changelog

Source

1.14.0

Added

  • Create Random String with Pattern

    • Schemas of type string with a defined pattern did not allow for values to be generated. Now schema's with patterns can be randomly generated.

Fixed

  • Random Number Generator

    When generating a random number from a schema it was possible that the randomly generated value would not fall within the expected minimum / maximum range. This is fixed.

gi60s
published 1.13.3 •

Changelog

Source

1.13.3

Fixed

  • Discriminator Bugs

    Various bugs were found for serializing, deserializing, randomly generating, and populating values off of a schema that included a discriminator. Some of these bugs were related to not following the OpenAPI specification closely enough.

    Now if a discriminator is specified then it will not attempt to find other matches when the discriminator does not resolve the schema.

gi60s
published 1.13.2 •

Changelog

Source

1.13.2

Fixed

  • Read / Write Required Property May Not Exist

    Fixed an error when checking for required schema properties that should not be included due to being read-only or write only.

gi60s
published 1.13.1 •

Changelog

Source

1.13.1

Fixed

  • Function operation.response Supports Wildcard Codes

    OpenAPI spec 3.0.0 and newer support wildcard response codes. Examples: 1XX, 2XX, 3XX, 4XX, 5XX. The document validator has supported this, but the Operation.prototype.response function did not support that until now.

gi60s
published 1.13.0 •

Changelog

Source

1.13.0

Added

  • Add getBundledDefinition

    The ref parser already has a bundler function, but now when creating an OpenAPI or Swagger component using the Enforcer function an additional property will be added to get the bundled definition.

gi60s
published 1.12.8 •

Changelog

Source

1.12.8

Fixed

  • Operation Response Now Validates for Write Only Properties

    The operation response function now checks that write only properties are not being sent to the client.

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