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

openapi-jsonschema-parameters

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-jsonschema-parameters - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2

1

dist/index.d.ts

@@ -8,3 +8,4 @@ import { IJsonSchema, OpenAPI } from 'openapi-types';

query?: IJsonSchema;
cookie?: IJsonSchema;
}
export declare function convertParametersToJSONSchema(parameters: OpenAPI.Parameters): OpenAPIParametersAsJSONSchema;

@@ -22,2 +22,3 @@ "use strict";

var querySchema = getSchema(parameters, 'query');
var cookieSchema = getSchema(parameters, 'cookie');
if (bodySchema) {

@@ -38,2 +39,5 @@ parametersSchema.body = bodySchema;

}
if (cookieSchema) {
parametersSchema.cookie = cookieSchema;
}
return parametersSchema;

@@ -40,0 +44,0 @@ }

4

package.json
{
"name": "openapi-jsonschema-parameters",
"version": "7.0.1",
"version": "7.0.2",
"description": "Converts openapi parameters to a jsonschema format.",

@@ -30,3 +30,3 @@ "main": "./dist/index.js",

},
"gitHead": "ce870adee618fc84d7d3683fe0847abe609b3277"
"gitHead": "983a1c79e54e9bcef6eea43fe22615591c919aa1"
}

Sorry, the diff of this file is not supported yet

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