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.16.0 to 13.17.0

10

dist/http-spec.d.ts

@@ -46,2 +46,3 @@ import { JSONSchema7 } from 'json-schema';

securitySchemes: (IComponentNode & (HttpSecurityScheme | Reference))[];
callbacks: (IComponentNode & (IHttpCallbackOperation | IHttpKeyedReference))[];
};

@@ -58,3 +59,3 @@ }

servers?: IServer[];
callbacks?: (Bundle extends true ? IHttpCallbackOperation[] | Reference : IHttpCallbackOperation<false>)[];
callbacks?: (Bundle extends true ? (IHttpCallbackOperation | IHttpKeyedReference)[] : IHttpCallbackOperation<false>)[];
security?: HttpSecurityScheme[][];

@@ -75,4 +76,7 @@ securityDeclarationType?: HttpOperationSecurityDeclarationTypes;

export interface IHttpCallbackOperation<Bundle extends boolean = false> extends Omit<IHttpOperation<Bundle>, 'callbacks'> {
callbackName: string;
key: string;
}
export interface IHttpKeyedReference extends Reference {
key: string;
}
export interface IHttpOperationRequest<Bundle extends boolean = false> {

@@ -181,3 +185,3 @@ path?: (Bundle extends true ? IHttpPathParam<true> | Reference : IHttpPathParam<false>)[];

schema?: JSONSchema7;
examples?: (Bundle extends true ? INodeExample | INodeExternalExample | (Pick<INodeExample, 'key'> & Reference) : INodeExample | INodeExternalExample)[];
examples?: (Bundle extends true ? INodeExample | INodeExternalExample | (IHttpKeyedReference) : INodeExample | INodeExternalExample)[];
encodings?: IHttpEncoding<Bundle>[];

@@ -184,0 +188,0 @@ }

{
"name": "@stoplight/types",
"version": "13.16.0",
"version": "13.17.0",
"description": "Common typings for the Stoplight ecosystem.",

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

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