@stoplight/types
Advanced tools
Comparing version 13.14.0 to 13.15.0
@@ -107,2 +107,4 @@ import { JSONSchema7 } from 'json-schema'; | ||
export declare enum HttpParamStyles { | ||
/** Used when OAS2 type !== array */ | ||
Unspecified = "unspecified", | ||
/** | ||
@@ -157,6 +159,6 @@ * OAS 3.x style simple | ||
export interface IHttpPathParam<Bundle extends boolean = false> extends IHttpParam<Bundle> { | ||
style: HttpParamStyles.Label | HttpParamStyles.Matrix | HttpParamStyles.Simple; | ||
style: HttpParamStyles.Unspecified | HttpParamStyles.Label | HttpParamStyles.Matrix | HttpParamStyles.Simple; | ||
} | ||
export interface IHttpQueryParam<Bundle extends boolean = false> extends IHttpParam<Bundle> { | ||
style: HttpParamStyles.Form | HttpParamStyles.CommaDelimited | HttpParamStyles.SpaceDelimited | HttpParamStyles.PipeDelimited | HttpParamStyles.DeepObject | HttpParamStyles.TabDelimited; | ||
style: HttpParamStyles.Unspecified | HttpParamStyles.Form | HttpParamStyles.CommaDelimited | HttpParamStyles.SpaceDelimited | HttpParamStyles.PipeDelimited | HttpParamStyles.DeepObject | HttpParamStyles.TabDelimited; | ||
allowEmptyValue?: boolean; | ||
@@ -166,6 +168,6 @@ allowReserved?: boolean; | ||
export interface IHttpHeaderParam<Bundle extends boolean = false> extends IHttpParam<Bundle> { | ||
style: HttpParamStyles.Simple; | ||
style: HttpParamStyles.Unspecified | HttpParamStyles.Simple; | ||
} | ||
export interface IHttpCookieParam<Bundle extends boolean = false> extends IHttpParam<Bundle> { | ||
style: HttpParamStyles.Form; | ||
style: HttpParamStyles.Unspecified | HttpParamStyles.Form; | ||
} | ||
@@ -172,0 +174,0 @@ /** |
@@ -12,2 +12,4 @@ var HttpOperationSecurityDeclarationTypes; | ||
(function (HttpParamStyles) { | ||
/** Used when OAS2 type !== array */ | ||
HttpParamStyles["Unspecified"] = "unspecified"; | ||
/** | ||
@@ -14,0 +16,0 @@ * OAS 3.x style simple |
@@ -16,2 +16,4 @@ 'use strict'; | ||
(function (HttpParamStyles) { | ||
/** Used when OAS2 type !== array */ | ||
HttpParamStyles["Unspecified"] = "unspecified"; | ||
/** | ||
@@ -18,0 +20,0 @@ * OAS 3.x style simple |
{ | ||
"name": "@stoplight/types", | ||
"version": "13.14.0", | ||
"version": "13.15.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
44888
915