Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stoplight/types

Package Overview
Dependencies
Maintainers
11
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 6.0.0 to 7.0.0

18

http-spec.d.ts

@@ -7,2 +7,6 @@ import { Dictionary } from './basic';

name: string;
version: string;
servers: IServer[];
security: HttpSecurityScheme[];
securitySchemes: HttpSecurityScheme[];
termsOfService?: string;

@@ -18,6 +22,2 @@ contact?: {

};
version: string;
servers: IServer[];
security: HttpSecurityScheme[];
securitySchemes: HttpSecurityScheme[];
}

@@ -41,3 +41,3 @@ export interface IHttpOperation extends INode {

export interface IHttpOperationRequestBody {
contents: IHttpContent[];
contents: IMediaTypeContent[];
required?: boolean;

@@ -48,3 +48,3 @@ description?: string;

code: string;
contents: IHttpContent[];
contents: IMediaTypeContent[];
headers: IHttpHeaderParam[];

@@ -56,2 +56,3 @@ description?: string;

style: HttpParamStyles;
content: IHttpContent;
description?: string;

@@ -61,3 +62,2 @@ required?: boolean;

deprecated?: boolean;
contents: IHttpContent[];
}

@@ -88,3 +88,2 @@ export declare enum HttpParamStyles {

export interface IHttpContent {
mediaType: string;
schema?: ISchema;

@@ -94,2 +93,5 @@ examples: Array<INodeExample | INodeExternalExample>;

}
export interface IMediaTypeContent extends IHttpContent {
mediaType: string;
}
export interface IHttpEncoding {

@@ -96,0 +98,0 @@ property: string;

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