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.8.0 to 13.9.0

6

dist/http-spec.d.ts

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

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

@@ -62,5 +62,5 @@ deprecated?: boolean;

}
export declare type IHttpCallbackOperation = Omit<IHttpOperation<false>, 'servers' | 'security' | 'callbacks'> & {
export interface IHttpCallbackOperation<Bundle extends boolean = false> extends Omit<IHttpOperation<Bundle>, 'callbacks'> {
callbackName: string;
};
}
export interface IHttpOperationRequest<Bundle extends boolean = false> {

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

@@ -46,2 +46,3 @@ var HttpParamStyles;

NodeType["HttpOperation"] = "http_operation";
NodeType["HttpCallback"] = "http_callback";
NodeType["Model"] = "model";

@@ -48,0 +49,0 @@ NodeType["Generic"] = "generic";

@@ -50,2 +50,3 @@ 'use strict';

NodeType["HttpOperation"] = "http_operation";
NodeType["HttpCallback"] = "http_callback";
NodeType["Model"] = "model";

@@ -52,0 +53,0 @@ NodeType["Generic"] = "generic";

@@ -9,2 +9,3 @@ /**

HttpOperation = "http_operation",
HttpCallback = "http_callback",
Model = "model",

@@ -11,0 +12,0 @@ Generic = "generic",

{
"name": "@stoplight/types",
"version": "13.8.0",
"version": "13.9.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