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

@stoplight/types

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/types - npm Package Compare versions

Comparing version 13.12.0 to 13.13.0

43

dist/http-spec.d.ts

@@ -105,10 +105,49 @@ import { JSONSchema7 } from 'json-schema';

export declare enum HttpParamStyles {
/**
* OAS 3.x style simple
* OAS 2 collectionFormat csv
*/
Simple = "simple",
/**
* OAS 3.x style matrix
* OAS 2 collectionFormat no support
*/
Matrix = "matrix",
/**
* OAS 3.x style label
* OAS 2 collectionFormat no support
*/
Label = "label",
/**
* OAS 3.x style form
* OAS 2 collectionFormat
* * csv, when explode === false
* * multi, when explode === true
*/
Form = "form",
/**
* OAS 3.x no support
* OAS 2 collectionFormat csv when explode === undefined
*/
CommaDelimited = "commaDelimited",
/**
* OAS 3.x style spaceDelimited
* OAS 2 collectionFormat ssv
*/
SpaceDelimited = "spaceDelimited",
/**
* OAS 3.x style spaceDelimited
* OAS 2 collectionFormat pipes
*/
PipeDelimited = "pipeDelimited",
DeepObject = "deepObject"
/**
* OAS 3.x style deepObject
* OAS 2 collectionFormat no support
*/
DeepObject = "deepObject",
/**
* OAS 3.x style no support
* OAS 2 collectionFormat tsv
*/
TabDelimited = "tabDelimited"
}

@@ -119,3 +158,3 @@ export interface IHttpPathParam<Bundle extends boolean = false> extends IHttpParam<Bundle> {

export interface IHttpQueryParam<Bundle extends boolean = false> extends IHttpParam<Bundle> {
style: HttpParamStyles.Form | HttpParamStyles.CommaDelimited | HttpParamStyles.SpaceDelimited | HttpParamStyles.PipeDelimited | HttpParamStyles.DeepObject;
style: HttpParamStyles.Form | HttpParamStyles.CommaDelimited | HttpParamStyles.SpaceDelimited | HttpParamStyles.PipeDelimited | HttpParamStyles.DeepObject | HttpParamStyles.TabDelimited;
allowEmptyValue?: boolean;

@@ -122,0 +161,0 @@ allowReserved?: boolean;

@@ -12,10 +12,49 @@ var HttpOperationSecurityDeclarationTypes;

(function (HttpParamStyles) {
/**
* OAS 3.x style simple
* OAS 2 collectionFormat csv
*/
HttpParamStyles["Simple"] = "simple";
/**
* OAS 3.x style matrix
* OAS 2 collectionFormat no support
*/
HttpParamStyles["Matrix"] = "matrix";
/**
* OAS 3.x style label
* OAS 2 collectionFormat no support
*/
HttpParamStyles["Label"] = "label";
/**
* OAS 3.x style form
* OAS 2 collectionFormat
* * csv, when explode === false
* * multi, when explode === true
*/
HttpParamStyles["Form"] = "form";
/**
* OAS 3.x no support
* OAS 2 collectionFormat csv when explode === undefined
*/
HttpParamStyles["CommaDelimited"] = "commaDelimited";
/**
* OAS 3.x style spaceDelimited
* OAS 2 collectionFormat ssv
*/
HttpParamStyles["SpaceDelimited"] = "spaceDelimited";
/**
* OAS 3.x style spaceDelimited
* OAS 2 collectionFormat pipes
*/
HttpParamStyles["PipeDelimited"] = "pipeDelimited";
/**
* OAS 3.x style deepObject
* OAS 2 collectionFormat no support
*/
HttpParamStyles["DeepObject"] = "deepObject";
/**
* OAS 3.x style no support
* OAS 2 collectionFormat tsv
*/
HttpParamStyles["TabDelimited"] = "tabDelimited";
})(HttpParamStyles || (HttpParamStyles = {}));

@@ -22,0 +61,0 @@

@@ -16,10 +16,49 @@ 'use strict';

(function (HttpParamStyles) {
/**
* OAS 3.x style simple
* OAS 2 collectionFormat csv
*/
HttpParamStyles["Simple"] = "simple";
/**
* OAS 3.x style matrix
* OAS 2 collectionFormat no support
*/
HttpParamStyles["Matrix"] = "matrix";
/**
* OAS 3.x style label
* OAS 2 collectionFormat no support
*/
HttpParamStyles["Label"] = "label";
/**
* OAS 3.x style form
* OAS 2 collectionFormat
* * csv, when explode === false
* * multi, when explode === true
*/
HttpParamStyles["Form"] = "form";
/**
* OAS 3.x no support
* OAS 2 collectionFormat csv when explode === undefined
*/
HttpParamStyles["CommaDelimited"] = "commaDelimited";
/**
* OAS 3.x style spaceDelimited
* OAS 2 collectionFormat ssv
*/
HttpParamStyles["SpaceDelimited"] = "spaceDelimited";
/**
* OAS 3.x style spaceDelimited
* OAS 2 collectionFormat pipes
*/
HttpParamStyles["PipeDelimited"] = "pipeDelimited";
/**
* OAS 3.x style deepObject
* OAS 2 collectionFormat no support
*/
HttpParamStyles["DeepObject"] = "deepObject";
/**
* OAS 3.x style no support
* OAS 2 collectionFormat tsv
*/
HttpParamStyles["TabDelimited"] = "tabDelimited";
})(exports.HttpParamStyles || (exports.HttpParamStyles = {}));

@@ -26,0 +65,0 @@

2

package.json
{
"name": "@stoplight/types",
"version": "13.12.0",
"version": "13.13.0",
"description": "Common typings for the Stoplight ecosystem.",

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

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