@stoplight/types
Advanced tools
Comparing version 13.12.0 to 13.13.0
@@ -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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44443
909