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

@readme/openapi-parser

Package Overview
Dependencies
Maintainers
10
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@readme/openapi-parser - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

10

lib/validators/spec/openapi.js

@@ -222,3 +222,11 @@ const util = require('../../util');

validateSchema(header.schema, headerId);
if (header.schema) {
validateSchema(header.schema, headerId);
} else if (header.content) {
Object.keys(header.content).forEach(mediaType => {
if (header.content[mediaType].schema) {
validateSchema(header.content[mediaType].schema || {}, `${headerId}/content/${mediaType}/schema`);
}
});
}
});

@@ -225,0 +233,0 @@

2

package.json
{
"name": "@readme/openapi-parser",
"version": "2.0.0",
"version": "2.0.1",
"description": "Swagger 2.0 and OpenAPI 3.x parser and validator for Node and browsers",

@@ -5,0 +5,0 @@ "keywords": [

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