Socket
Socket
Sign inDemoInstall

@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.14.0 to 13.15.0

10

dist/http-spec.d.ts

@@ -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 @@ /**

2

dist/index.esm.js

@@ -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

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