@stoplight/types
Advanced tools
Comparing version 6.0.0 to 7.0.0
@@ -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": [], |
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
22751
312